|
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 // Panics and DLL stuff for APMIME.DLL |
|
15 // |
|
16 // |
|
17 |
|
18 #if !defined(__APMPAN_H__) |
|
19 #define __APMPAN_H__ |
|
20 |
|
21 enum TApmPanic |
|
22 { |
|
23 EPanicFindAllAppsNotCalled, |
|
24 EPanicLibraryNotInList, |
|
25 EPanicIndexOutOfRange, |
|
26 EPanicNegativeIndex, |
|
27 EInvalidDataType, |
|
28 EInvalidArgument, |
|
29 EArrayNotEmpty, |
|
30 EPanicNotBeingUsedFromWithinApparcServerProcess, |
|
31 // |
|
32 EDPanicBadDirName, |
|
33 EDPanicDriveOutOfRange, |
|
34 EDPanicStartDriveOutOfRange, |
|
35 EDPanicInvalidData, |
|
36 EDPanicDuplicateRecognizer, |
|
37 EDPanicNullPointer1, |
|
38 EDPanicNullPointer2, |
|
39 EDPanicNullPointerExpected1, |
|
40 EDPanicNullPointerExpected2, |
|
41 EDPanicBadFlagState1, |
|
42 EDPanicBadFlagState2, |
|
43 }; |
|
44 |
|
45 GLREF_C void Panic(TApmPanic aPanic); |
|
46 GLREF_C const TDesC& Category(); |
|
47 |
|
48 #ifdef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
49 /** |
|
50 @internalComponent |
|
51 */ |
|
52 #define KApaAppTypeDes _L8("x-epoc/x-app") |
|
53 /** |
|
54 @internalComponent |
|
55 */ |
|
56 const TInt KDataArrayGranularity=5; |
|
57 |
|
58 /** |
|
59 @internalComponent |
|
60 */ |
|
61 _LIT8(KEpocUrlDataTypeHeader, "X-Epoc-Url/"); |
|
62 |
|
63 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS |
|
64 |
|
65 #endif |