locationmanager/inc/locationmanagerdefs.h
changeset 0 c53acadfccc6
child 19 b73252188534
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmanager/inc/locationmanagerdefs.h	Mon Jan 18 20:34:07 2010 +0200
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Definition file for Location Manager.
+*
+*/
+
+#ifndef __LOCATIONMANAGERDEFS_H__
+#define __LOCATIONMANAGERDEFS_H__
+
+_LIT( KLocServerFileName, "LocationManagerServer.exe");
+_LIT( KLocServerName,     "LocationManagerServer" );
+
+const TInt KLocationManagerServerMinor = 0;
+const TInt KLocationManagerServerMajor = 1;
+const TInt KLocationManagerServerBuild = 0;
+
+const TInt KSessionSlotCount = -1; // use shared on-demand-pool
+
+enum TLocCommands // Server commands.
+    {
+    ELocManStartTrail,
+    ELocManStopTrail,
+    ELocManTrailState,
+    ELocManNotifyTrailStateChange,
+    ELocManCancelNotification,
+    ELocManRetrieveLoc,
+    ELocManCurrentLoc,
+    ELocManCancelCurrentLoc,
+    ELocManCreateLocationObject,
+    ELocManLocationSnapshot,
+    ELocManRemoveLocationObject,
+    ELocManCopyLocationDataById,
+    ELocManCopyLocationDataByUri,
+    ELocManEditLocationObject,
+    ELocManStartTrackLog,
+    ELocManStopTrackLog,
+    ELocManGetTrackLogStatus,
+    ELocManDeleteTrackLog,
+    ELocManIsTrackLogRecording,
+    ELocManTrackLogName,
+    ELocManRegObserver,
+    ELocManGetCaptureSetting,
+    ELocManCancelTrackLogNotify
+    };
+
+/** Message argument indices */
+enum TArgumentIndices
+    {
+    EArgumentTime = 0,
+    EArgumentLocationData,
+    EArgumentState
+    };
+
+#endif // __LOCATIONMANAGERDEFS_H__
+
+// End of file.