|
1 // Copyright (c) 2006-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 // data which identifies the server used to communicate with the LBS |
|
15 // Network Request Handler |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @internalComponent |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef __LBSNRHSERVERDATA_H__ |
|
26 #define __LBSNRHSERVERDATA_H__ |
|
27 |
|
28 /** |
|
29 * Define the file and process name used to set up a session with the |
|
30 * Network Request Handler |
|
31 */ |
|
32 _LIT(KNrhServerFileName, "\\sys\\bin\\lbsnetworkrequesthandler.exe"); |
|
33 _LIT(KNrhServerName, "lbsnetworkrequesthandler.exe"); |
|
34 |
|
35 /* Current version number of the Network Request Handler Server. |
|
36 */ |
|
37 const TInt8 KNrhServerMajorVersionNumber = 1; |
|
38 const TInt8 KNrhServerMinorVersionNumber = 0; |
|
39 const TInt16 KNrhServerBuildVersionNumber = 0; |
|
40 |
|
41 /* Enum that defines the types of subsession |
|
42 supported by the Network Request Handler. |
|
43 |
|
44 One of these is passed in as the first |
|
45 RMessage2 argument when creating a sub-session. |
|
46 */ |
|
47 enum TNrhSubSessionType |
|
48 { |
|
49 ENrhSubSessionUnknown = 0, |
|
50 ENrhSubSessionPrivacyController, |
|
51 ENrhSubSessionX3P |
|
52 }; |
|
53 |
|
54 /** Current version number of MLbsPrivacyObserver. |
|
55 */ |
|
56 const TInt8 KLbsPrivacyObserverVersionMajor = 0; |
|
57 const TInt8 KLbsPrivacyObserverVersionMinor = 0; |
|
58 const TInt16 KLbsPrivacyObserverVersionBuild = 0; |
|
59 |
|
60 |
|
61 /** Current version number of MLbsPrivacyObserver2. |
|
62 */ |
|
63 const TInt8 KLbsPrivacyObserverVersion2Major = 2; |
|
64 const TInt8 KLbsPrivacyObserverVersion2Minor = 0; |
|
65 const TInt16 KLbsPrivacyObserverVersion2Build = 0; |
|
66 |
|
67 |
|
68 /* Initialisation data sent to the NRH server |
|
69 when creating a new privacy controller subsession. |
|
70 */ |
|
71 NONSHARABLE_CLASS(TNrhPrivacyControllerData) |
|
72 { |
|
73 public: |
|
74 TVersion iVersion; /** Version of the MLbsPrivacyObserver the client is using. */ |
|
75 }; |
|
76 |
|
77 /* Initialisation data sent to the NRH server |
|
78 when creating a new X3P subsession. |
|
79 */ |
|
80 NONSHARABLE_CLASS(TNrhX3PData) |
|
81 { |
|
82 public: |
|
83 TInt aUnused; /* Reserved for future use */ |
|
84 }; |
|
85 |
|
86 |
|
87 #endif // __LBSNRHSERVERDATA_H__ |
|
88 |