|
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(__APASTD_H__) |
|
18 #define __APASTD_H__ |
|
19 |
|
20 #if !defined(__E32STD_H__) |
|
21 #include <e32std.h> |
|
22 #endif |
|
23 |
|
24 enum TApaPanic |
|
25 { |
|
26 EPanicApplicationAlreadyExists, |
|
27 EPanicDocumentNotCreated, |
|
28 EPanicCapabilityNotSet, |
|
29 EPanicNotExactlyOneDoc, |
|
30 EPanicMoreThanOneDoc, |
|
31 EPanicAppListNotEmpty, |
|
32 EPanicDocListNotEmpty, |
|
33 EPanicFileNameTooLong, |
|
34 EPanicNoGlassDoorMethodSupplied, |
|
35 EPanicNoModelHeaderWhenStoring, |
|
36 EPanicNoBaseDoorStream, |
|
37 EPanicAppNotInList, |
|
38 EPanicNoCleanupItem, |
|
39 EPanicNoApplication, |
|
40 EPanicNoAppStarter, |
|
41 EPanicNoAppLocator, |
|
42 EPanicNoIconInDoor, |
|
43 EPanicNotSupported, |
|
44 EPanicNoStreamDic, |
|
45 EPanicNoAppFinder, |
|
46 EPanicNoDocument, |
|
47 EPanicNoCaption, |
|
48 EPanicNoFactory, |
|
49 EPanicNoStore, |
|
50 EPanicNoStoreOnDetach, |
|
51 EPanicWrongStoreType, |
|
52 // |
|
53 EDPanicNoApp, |
|
54 EDPanicDocWithNoApp, |
|
55 EDPanicRemovingNullApp, |
|
56 EDPanicIllegalDoorFormat, |
|
57 EDPanicNoHostForStore, |
|
58 EDPanicWrongCommand, |
|
59 // |
|
60 EPanicEmbeddabilityOutOfRange, |
|
61 // |
|
62 EPanicBadApplicationFactoryType, |
|
63 EPanicUidsDoNotMatch, |
|
64 // |
|
65 EPanicServerDifferentiatorZero, |
|
66 // |
|
67 EPanicInvalidHandle, |
|
68 EPanicHandleAlreadySet, |
|
69 EPanicInvalidSubSession, |
|
70 EPanicEnvironmentSlotNotForPublicUse, |
|
71 EPanicBadHeapCellRestorerState, |
|
72 // |
|
73 EPanicInvalidScreenNumber, |
|
74 EPanicNullPointer, |
|
75 EDPanicInvalidToken, |
|
76 EDPanicNoAppRemover, |
|
77 EDPanicNoProcess, |
|
78 EDPanicNoAppHolder, |
|
79 EDPanicInvalidVersionNumber |
|
80 }; |
|
81 |
|
82 |
|
83 GLREF_C void Panic(TApaPanic aPanic); |
|
84 |
|
85 |
|
86 #endif |