|
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 the License "Symbian Foundation License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 #if !defined(__APGSTD_H__) |
|
18 #define __APGSTD_H__ |
|
19 |
|
20 #if !defined(__E32STD_H__) |
|
21 #include <e32std.h> |
|
22 #endif |
|
23 |
|
24 |
|
25 enum TApgPanic |
|
26 { |
|
27 EPanicDefaultIcnFileDoesNotExist, |
|
28 EIllegalCallToGlassDoorSize, |
|
29 EPanicGetAppsNotInitialized, |
|
30 EPanicNullWindowGroupName, |
|
31 EPanicMethodNotSupported, |
|
32 EPanicIconAlreadyExists, |
|
33 EPanicDocAlreadyExists, |
|
34 EPanicInvalidParameter, |
|
35 EPanicNoDocumentOnConstruction, |
|
36 EPanicNoDocOrStoreWhenStoring, |
|
37 EPanicIndexOutOfRange, |
|
38 EPanicNoDocumentOnStore, |
|
39 EPanicNoAppDataSupplied, |
|
40 EPanicNoStoreOnRestore, |
|
41 EPanicNoStoreOnDetach, |
|
42 EPanicNoStoreOnAppUid, |
|
43 EPanicNoPictureInDoor, |
|
44 EPanicNoGlassPicture, |
|
45 EPanicNoStreamDic, |
|
46 EPanicNoCaption, |
|
47 // |
|
48 EDPanicNoCaptionInControl, |
|
49 EDPanicNoHostForStore, |
|
50 EDPanicNoPictureOnDrawing, |
|
51 EDPanicNoStoreOnGlassing, |
|
52 EDPanicNoStoreOnIconify, |
|
53 EDPanicNoIconInPicture, |
|
54 EDPanicWrongCommand, |
|
55 EDPanicNoProcess, |
|
56 EDPanicBadList, |
|
57 EDPanicArrayNotEmpty, |
|
58 EDPanicBadDataType, |
|
59 EDPanicBadIconSize, |
|
60 EDPanicInvalidObserver, |
|
61 EDPanicInvalidDataTypeArray, |
|
62 EDPanicInvalidViewArray, |
|
63 EDPanicInvalidFileOwnershipArray, |
|
64 EDPanicInvalidHandle, |
|
65 EPanicCaptionAlreadyExists, |
|
66 EPanicShortCaptionAlreadyExists, |
|
67 EFilenameTooLong, |
|
68 EPanicNoAppName, |
|
69 EPanicInconsistentResourceSizeInBytes, |
|
70 EPanicBadUnicodeCompression1, |
|
71 EPanicBadUnicodeCompression2, |
|
72 EPanicWrongResourceFormat1, |
|
73 EPanicWrongResourceFormat2, |
|
74 EPanicBadCompressedUnicodeRun, |
|
75 EPanicBadRunLengthParameter, |
|
76 EPanicNullPointer, |
|
77 EPanicIconFileWithoutLocalisableResourceFile, |
|
78 EPanicUnexpectedUid, |
|
79 EPanicBadRunLength, |
|
80 EPanicUpdatedAppsListNotEmpty, // Unused |
|
81 EPanicNullDefaultAppIconFileName, |
|
82 EDPanicNoPicture, |
|
83 EDPanicNoApplication, |
|
84 EDPanicInvalidIconIndexArray, |
|
85 EDPanicHandleAlreadySet |
|
86 }; |
|
87 |
|
88 |
|
89 GLREF_C void Panic(TApgPanic aPanic); |
|
90 |
|
91 |
|
92 #endif |