|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Panic and error codes |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef XNPANIC_H |
|
21 #define XNPANIC_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32std.h> |
|
25 |
|
26 |
|
27 // DATA TYPES |
|
28 /** |
|
29 * Definitions for panic values used in Layout Engine |
|
30 */ |
|
31 enum TXnPanic |
|
32 { |
|
33 EXnInvalidConfiguration = 1, |
|
34 EXnInvalidDeclaration, |
|
35 EXnInvalidPublisherInfo, |
|
36 EXnInvalidState, |
|
37 EXnCritalPointerNull, |
|
38 EXnFailedToComposeInitialView |
|
39 }; |
|
40 |
|
41 |
|
42 /** |
|
43 * Error code definitions |
|
44 */ |
|
45 const TInt KXnErrControlAdapterFailed = -32223; |
|
46 const TInt KXnErrAdapterNotWindowOwner = -32224; |
|
47 const TInt KXnErrAppendingChildToControlAdapterFailed = -32225; |
|
48 const TInt KXnErrAddChildToAreaFailed = -32226; |
|
49 const TInt KXnErrODTNotFoundFromRepository = -32227; |
|
50 const TInt KXnErrAddingProperyToListFailed = -32228; |
|
51 const TInt KXnErrAddingProperyToListFailed_2 = -32229; |
|
52 const TInt KXnErrAddingProperyToListFailed_3 = -32230; |
|
53 const TInt KXnErrAddingProperyToListFailed_4 = -32231; |
|
54 const TInt KXnErrAddingProperyToListFailed_5 = -32232; |
|
55 const TInt KXnErrDomPropertyValueNULL = -32233; |
|
56 const TInt KXnErrHorizontalValueNULL = -32234; |
|
57 const TInt KXnErrWidthNULL = -32235; |
|
58 const TInt KXnErrWidthNULL_2 = -32236; |
|
59 const TInt KXnErrOrientationNULL = -32237; |
|
60 const TInt KXnErrDirectionNULL = -32238; |
|
61 const TInt KXnErrOrientationPropertyNULL = -32239; |
|
62 const TInt KXnErrDirectionPropertyNULL = -32240; |
|
63 const TInt KXnErrPositioningPropertyNULL = -32241; |
|
64 const TInt KXnErrOrientationPropertyNULL_2 = -32242; |
|
65 const TInt KXnErrReverseTreeFailed = -32243; |
|
66 const TInt KXnErrCXnBreadthFirstTreeIteratorNextLAppendToStackFailed_1 = -32244; |
|
67 const TInt KXnErrCXnBreadthFirstTreeIteratorNextLAppendToStackFailed_2 = -32245; |
|
68 const TInt KXnErrCXnBreadthFirstTreeIteratorNextLAppendToStackFailed_3 = -32246; |
|
69 const TInt KXnErrCXnDepthFirstTreeIteratorNextLAppendToStackFailed = -32247; |
|
70 const TInt KXnErrAppendingPluginFailed = -32248; |
|
71 const TInt KXnErrAppendingPluginFailedAgain = -32249; |
|
72 const TInt KXnErrAppendingPluginImplFailed = -32250; |
|
73 const TInt KXnErrAppendingMapItemFailed_1 = -32251; |
|
74 const TInt KXnErrAppendingMapItemFailed_2 = -32252; |
|
75 const TInt KXnErrBlockProgressionPropertyNULL = -32253; |
|
76 const TInt KXnErrBlockProgressionPropertyNULL_2 = -32254; |
|
77 const TInt KXnErrWidgetPluginFailure = -32255; |
|
78 const TInt KXnErrViewPluginFailure = -32256; |
|
79 |
|
80 // FUNCTION PROTOTYPES |
|
81 GLREF_C void Panic(TXnPanic aPanic); |
|
82 |
|
83 #endif // XNPANIC_H |
|
84 |
|
85 // End of File |