|
1 // Copyright (c) 2007-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 #ifndef __CLECONST_H__ |
|
17 #define __CLECONST_H__ |
|
18 |
|
19 |
|
20 enum TCleSrvCommand |
|
21 { |
|
22 ECleSrvExecuteCmdList = 1, |
|
23 ECleSrvExecuteCmdListCancel, |
|
24 //Only for testing purpose and used in debug builds only |
|
25 EDebugMarkHeap, |
|
26 EDebugMarkHeapEnd, |
|
27 EDebugSetHeapFailure, |
|
28 EDebugHeapReset, |
|
29 EDebugCloseNeverUnloadLibs, |
|
30 EEndOfCleOpCodes |
|
31 }; |
|
32 |
|
33 const TInt KCleSrvVersionMajor = 0; // 0-127 |
|
34 const TInt KCleSrvVersionMinor = 0; // 0-99 |
|
35 const TInt KCleSrvVersionBuild = 0; // 0-32767 |
|
36 |
|
37 #define __IN_RANGE( x, y ) ( (x >= 0) && (x < y) ) |
|
38 |
|
39 _LIT( KCleCmdListBadIdx,"CleCmdListBadIdx" ); |
|
40 _LIT( KCleCmdListEmpty,"CleCmdListEmpty" ); |
|
41 _LIT( KCleSrvBadIdx,"CleSrvBadIdx" ); |
|
42 _LIT( KCmdListExecRunL, "CmdListExecRunL" ); |
|
43 _LIT( KCleCmdListNULL,"CleCmdListNULL" ); |
|
44 _LIT( KCleSrvBadExec,"CleSrvBadExec" ); |
|
45 _LIT( KCleHandleNotOpen, "CleCliNotopen" ); |
|
46 |
|
47 const TInt KCleSrvArrayIndexInvalid = 111; |
|
48 const TInt KCleSrvBadCmdList = 112; |
|
49 const TInt KCleSrvExecutorInvalid = 113; |
|
50 const TInt KCleSrvHandleNotOpen = 114; |
|
51 |
|
52 const TInt KCleStreamBufGranularity = 1024; |
|
53 |
|
54 |
|
55 #endif // __CLECONST_H__ |
|
56 |
|
57 |