|
1 /* |
|
2 * Copyright (c) 2006 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: Defines for XIMP Framework Root server. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef XIMPROOTSERVERDEFS_H |
|
19 #define XIMPROOTSERVERDEFS_H |
|
20 |
|
21 #include <e32std.h> |
|
22 |
|
23 /* |
|
24 * ============================================================================ |
|
25 * XIMP Framework Root server constants |
|
26 * ============================================================================ |
|
27 */ |
|
28 namespace NRootSrv |
|
29 { |
|
30 /** |
|
31 * Root server version numbers |
|
32 */ |
|
33 namespace NVersion |
|
34 { |
|
35 const TInt KMajor = 1; |
|
36 const TInt KMinor = 1; |
|
37 const TInt KBuild = 1; |
|
38 } |
|
39 |
|
40 |
|
41 /** |
|
42 * Root server names |
|
43 */ |
|
44 namespace NName |
|
45 { |
|
46 _LIT( KExecutable, "ximprootserver.exe" ); |
|
47 _LIT( KMainThread, "XIMPRootSrv" ); |
|
48 _LIT( KSymbianServer, "!XIMPRootSrv" ); |
|
49 _LIT( KServerPattern, "*XIMP*" ); |
|
50 } |
|
51 |
|
52 /** |
|
53 * Root server requests |
|
54 */ |
|
55 namespace NRequest |
|
56 { |
|
57 //Number asynchronous message slots for Root server |
|
58 const TUint KMsgSlotCount = 4; |
|
59 |
|
60 //Root Server op codes |
|
61 enum TOpCodes |
|
62 { |
|
63 EBecomeRootSession = 1, |
|
64 |
|
65 ERootSsPrepareProtocolList, |
|
66 ERootSsPrepareSupportedFeatures, |
|
67 ERootSsFetchServerSideData, |
|
68 |
|
69 EOpCodeTop |
|
70 }; |
|
71 } |
|
72 } |
|
73 |
|
74 #endif //XIMPROOTSERVERDEFS_H |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |