locationmgmt/locationcore/inc/lbsmessageenums.h
author William Roberts <williamr@symbian.org>
Fri, 28 May 2010 15:35:11 +0100
branchRCL_3
changeset 32 24bd7242888d
parent 0 9cfd9a3ee49c
child 40 18280709ae43
permissions -rw-r--r--
Re-merge fix for bug 2680

// 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:
// the message enums/opcodes shared between the client and the server sides
// Extend the enum list as required for each server - see restrictions
// butDO NOT rename the file
// 
//

/**
 @file
 @publishedPartner
 @released
*/

#ifndef __LBSMESSAGEENUMS_H__
#define __LBSMESSAGEENUMS_H__


enum EClientServerMessageEnums
	{
	ESecureSubSessionBaseOpen = 0,
	ESecureSubSessionBaseClose = 1,
	// insert your session enums here
	ELastSessionMessageId = KMaxTInt32 >> 1, // aka KMaxTInt32/2
	ELastValidSubSessionMessageId = KMaxTInt32// MUST be last - see the TPolicy
	};


// old version
/*
enum EClientServerMessageEnums
	{
	ESecureSubSessionBaseOpen = 0,
	ESecureSubSessionBaseClose = 1,
	// insert your session enums here
	ELastSessionMessageId = 2,
	// insert you subsession enums here. Note the trailing comma above...
	ELbsPosNotifyPositionUpdate = 3,
	ELbsPosNotifyPositionUpdateCancel = 4,
	ELbsSetRequestor = 5,
	ELbsSetRequestorStack = 6,
	ELbsSetUpdateOptions = 7,
	ELbsGetUpdateOptions = 8,
	ELbsGetLastKnownPosition = 9,
	ELbsGetLastKnownPositionCancel = 10,
	ENrhPrivacyControllerRegister = 11, 
	ENrhPrivacyControllerCancelRegister = 12,
	ENrhPrivacyControllerResponse = 13,
	ENrhPrivacyControllerCancel = 14,
	EX3pTransmitPosition = 15,
	EX3pCancelTransmitPosition = 16,
	EX3pSetTransmitOptions = 17,
	EX3pGetTransmitOptions = 18,
	// Owen - this is a hack to be removed very very soon!
	EExTimeServerGetTimeSync = 19,
	EExTimeServerGetTimeAsync = 20,
	EExTimeServerCancelGetTime = 21,
	EExTimeServerGetServerName = 22,
	EExInVaildMessage = 23,
	ELastValidSubSessionMessageId = 24// MUST be last - see the TPolicy
	};
*/

#endif // __LBSMESSAGEENUMS_H__