locationmanager/inc/locationmanagerdefs.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 10:20:41 +0300
branchRCL_3
changeset 47 b73252188534
parent 0 c53acadfccc6
child 63 e538444823de
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* 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,
    ELocManTagPending,
    ELocManStartGeoTaging,
    ELocManCancelTagPendingReq,
    ELocManCancelGeoTaggingReq
    };

/** Message argument indices */
enum TArgumentIndices
    {
    EArgumentTime = 0,
    EArgumentLocationData,
    EArgumentState
    };

const TInt KLocManagerSessionPriority = 5;

#endif // __LOCATIONMANAGERDEFS_H__

// End of file.