|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #if !defined(__APSSTD_H__) |
|
18 #define __APSSTD_H__ |
|
19 |
|
20 #if !defined(__E32STD_H__) |
|
21 #include <e32std.h> |
|
22 #endif |
|
23 #if !defined(__APAFLREC_H__) |
|
24 #include <apaflrec.h> |
|
25 #endif |
|
26 |
|
27 |
|
28 enum TApaPanic |
|
29 { |
|
30 ESvrCreateServer, |
|
31 ESvrStartServer, |
|
32 EMainSchedulerError, |
|
33 // |
|
34 EDSvrNoApp, |
|
35 EEventFromBackupObserverError, |
|
36 EReferenceCountingError1, |
|
37 EReferenceCountingError2, |
|
38 EReferenceCountingError3, |
|
39 EPanicNullPointer, |
|
40 ENonNativeAppsUpdateLogOpenedTwice, |
|
41 ENonNativeAppsTFileDetailsPathNotSet, |
|
42 ENonNativeAppsTFileDetailsPathAlreadySet, |
|
43 ENonNativeAppsTFileDetailsOpenInBadState, |
|
44 ENonNativeAppsTFileDetailsOpenWithRealPathSet, |
|
45 ENonNativeAppsTFileDetailsOpenWithTempPathSet, |
|
46 ENonNativeAppsTFileDetailsRenameToRealInBadState, |
|
47 ENonNativeAppsTFileDetailsRenameToRealWithoutTempPath, |
|
48 ENonNativeAppsTFileDetailsRenameToRealWithoutRealPath, |
|
49 ENonNativeAppsTFileDetailsRenameToTempInBadState, |
|
50 ENonNativeAppsTFileDetailsRenameToTempWithoutRealPathSet, |
|
51 ENonNativeAppsTFileDetailsRenameToTempWithTempPathSet, |
|
52 ENonNativeAppsTFileDetailsCreateTempInBadState, |
|
53 ENonNativeAppsTFileDetailsCreateTempWithTempPathSet, |
|
54 ENonNativeAppsTFileDetailsDeleteInBadState, |
|
55 ENonNativeAppsTFileDetailsDeleteTemporaryInBadState, |
|
56 ENonNativeAppsTFileDetailsRestoreRealInBadState, |
|
57 ENonNativeAppsFileDeleterOverflow, |
|
58 ENonNativeAppsFileReplacerOverflow, |
|
59 ENonNativeAppsNegativeStoredFilePosition, |
|
60 ENonNativeAppsTestHandlingPanicDuringUpdate, |
|
61 ENonNativeAppsTestHandlingPanicDuringRollback, |
|
62 ENonNativeAppsNonNativeApplicationsUpdateInternalizeNewUpdateInBadState |
|
63 }; |
|
64 |
|
65 |
|
66 GLREF_C void Panic(TApaPanic aPanic); |
|
67 |
|
68 #endif |