equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 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: |
|
15 * General constant values for WV engine interface and engine |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef IMPSCONST_H |
|
21 #define IMPSCONST_H |
|
22 |
|
23 // CONSTANTS |
|
24 const TInt KImpsDefaultMessageSlots = 15; |
|
25 |
|
26 // All content type strings are in KContentTypeTable |
|
27 // some are defined here to be used separately |
|
28 _LIT( KImpsAny, "*/*" ); |
|
29 _LIT( KImpsTextPlain, "text/plain" ); |
|
30 |
|
31 _LIT( KImpsCspVersion11, "CSP1.1" ); |
|
32 _LIT( KImpsCspVersion12, "CSP1.2" ); |
|
33 |
|
34 |
|
35 // DATA TYPES |
|
36 // General boolean value |
|
37 enum TImpsBoolean |
|
38 { |
|
39 EImpsUndefined = 0, |
|
40 EImpsTrue, |
|
41 EImpsFalse |
|
42 }; |
|
43 |
|
44 |
|
45 // These panics should only be used in ASSERT_DEBUGs |
|
46 // (The user should not see these) |
|
47 enum TImpsPanic |
|
48 { |
|
49 EImpsBadRequest = 0, |
|
50 EImpsNotAssigned = 1, |
|
51 EImpsNotConnected = 2, |
|
52 EImpsNotifyHandlerMissing = 3, |
|
53 EImpsNoActiveScheduler = 4, |
|
54 EImpsAlreadyBusy = 5, |
|
55 EImpsCorrupted = 6 // internal error in engine |
|
56 }; |
|
57 |
|
58 |
|
59 #endif // IMPSCONST_H |
|
60 |
|
61 // End of File |