|
1 /* |
|
2 * Copyright (c) 2010 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: Declaration of server core class. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef POSINDICATORSERVERCONSTS_H |
|
19 #define POSINDICATORSERVERCONSTS_H |
|
20 |
|
21 /** |
|
22 * Server core name. |
|
23 */ |
|
24 _LIT( KPosIndHelperSrvName,"posindicatorhelperserver" ); |
|
25 |
|
26 |
|
27 /** |
|
28 * Current server version number |
|
29 * |
|
30 */ |
|
31 const TInt8 KMajorVersionNumber = 1; |
|
32 const TInt8 KMinorVersionNumber = 0; |
|
33 const TInt16 KBuildVersionNumber = 0; |
|
34 |
|
35 |
|
36 /** |
|
37 * Service Ids for client service requests. These |
|
38 * service numbers should be used by the client library |
|
39 * in all IPC messages to indicate the type of service |
|
40 * required |
|
41 */ |
|
42 enum TServiceIds |
|
43 { |
|
44 /* Subsession Open */ |
|
45 ESubSessionOpen, |
|
46 /* Subsession Close */ |
|
47 ESubSessionClose, |
|
48 /* Get current position */ |
|
49 EGetCurrentPosition, |
|
50 /* Get current address info size */ |
|
51 EGetCurrentAddressInfoSize, |
|
52 /* Get current address info */ |
|
53 EGetCurrentAddressInfo, |
|
54 /* Cancel outstanding request*/ |
|
55 ECancelCurrentOperation |
|
56 }; |
|
57 |
|
58 |
|
59 // This position in the IPC message should hold the sub-session handle |
|
60 const TInt KParamSubsessionHandle = 3; |
|
61 |
|
62 // This position in the IPC message should hold last known position. |
|
63 const TInt KParamLastKnownPosition = 0; |
|
64 |
|
65 // This position in the IPC message should hold current position. |
|
66 const TInt KParamCurrentPosition = 0; |
|
67 |
|
68 // This position in the IPC message should hold current address size. |
|
69 const TInt KParamCurrentAddressSize = 0; |
|
70 |
|
71 // This position in the IPC message should hold current address size. |
|
72 const TInt KParamCurrentAddress = 0; |
|
73 |
|
74 #endif // POSINDICATORSERVERCONSTS_H |