|
1 /* |
|
2 * Copyright (c) 2006-2009 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: Definition file for Location Manager. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef __LOCATIONMANAGERDEFS_H__ |
|
19 #define __LOCATIONMANAGERDEFS_H__ |
|
20 |
|
21 _LIT( KLocServerFileName, "LocationManagerServer.exe"); |
|
22 _LIT( KLocServerName, "LocationManagerServer" ); |
|
23 |
|
24 const TInt KLocationManagerServerMinor = 0; |
|
25 const TInt KLocationManagerServerMajor = 1; |
|
26 const TInt KLocationManagerServerBuild = 0; |
|
27 |
|
28 const TInt KSessionSlotCount = -1; // use shared on-demand-pool |
|
29 |
|
30 enum TLocCommands // Server commands. |
|
31 { |
|
32 ELocManStartTrail, |
|
33 ELocManStopTrail, |
|
34 ELocManTrailState, |
|
35 ELocManNotifyTrailStateChange, |
|
36 ELocManCancelNotification, |
|
37 ELocManRetrieveLoc, |
|
38 ELocManCurrentLoc, |
|
39 ELocManCancelCurrentLoc, |
|
40 ELocManCreateLocationObject, |
|
41 ELocManLocationSnapshot, |
|
42 ELocManRemoveLocationObject, |
|
43 ELocManCopyLocationDataById, |
|
44 ELocManCopyLocationDataByUri, |
|
45 ELocManEditLocationObject, |
|
46 ELocManStartTrackLog, |
|
47 ELocManStopTrackLog, |
|
48 ELocManGetTrackLogStatus, |
|
49 ELocManDeleteTrackLog, |
|
50 ELocManIsTrackLogRecording, |
|
51 ELocManTrackLogName, |
|
52 ELocManRegObserver, |
|
53 ELocManGetCaptureSetting, |
|
54 ELocManCancelTrackLogNotify |
|
55 }; |
|
56 |
|
57 /** Message argument indices */ |
|
58 enum TArgumentIndices |
|
59 { |
|
60 EArgumentTime = 0, |
|
61 EArgumentLocationData, |
|
62 EArgumentState |
|
63 }; |
|
64 |
|
65 #endif // __LOCATIONMANAGERDEFS_H__ |
|
66 |
|
67 // End of file. |