locationmgmt/locationcore/inc/lbsmessageenums.h
changeset 0 9cfd9a3ee49c
child 40 18280709ae43
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     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 // the message enums/opcodes shared between the client and the server sides
       
    15 // Extend the enum list as required for each server - see restrictions
       
    16 // butDO NOT rename the file
       
    17 // 
       
    18 //
       
    19 
       
    20 /**
       
    21  @file
       
    22  @publishedPartner
       
    23  @released
       
    24 */
       
    25 
       
    26 #ifndef __LBSMESSAGEENUMS_H__
       
    27 #define __LBSMESSAGEENUMS_H__
       
    28 
       
    29 
       
    30 enum EClientServerMessageEnums
       
    31 	{
       
    32 	ESecureSubSessionBaseOpen = 0,
       
    33 	ESecureSubSessionBaseClose = 1,
       
    34 	// insert your session enums here
       
    35 	ELastSessionMessageId = KMaxTInt32 >> 1, // aka KMaxTInt32/2
       
    36 	ELastValidSubSessionMessageId = KMaxTInt32// MUST be last - see the TPolicy
       
    37 	};
       
    38 
       
    39 
       
    40 // old version
       
    41 /*
       
    42 enum EClientServerMessageEnums
       
    43 	{
       
    44 	ESecureSubSessionBaseOpen = 0,
       
    45 	ESecureSubSessionBaseClose = 1,
       
    46 	// insert your session enums here
       
    47 	ELastSessionMessageId = 2,
       
    48 	// insert you subsession enums here. Note the trailing comma above...
       
    49 	ELbsPosNotifyPositionUpdate = 3,
       
    50 	ELbsPosNotifyPositionUpdateCancel = 4,
       
    51 	ELbsSetRequestor = 5,
       
    52 	ELbsSetRequestorStack = 6,
       
    53 	ELbsSetUpdateOptions = 7,
       
    54 	ELbsGetUpdateOptions = 8,
       
    55 	ELbsGetLastKnownPosition = 9,
       
    56 	ELbsGetLastKnownPositionCancel = 10,
       
    57 	ENrhPrivacyControllerRegister = 11, 
       
    58 	ENrhPrivacyControllerCancelRegister = 12,
       
    59 	ENrhPrivacyControllerResponse = 13,
       
    60 	ENrhPrivacyControllerCancel = 14,
       
    61 	EX3pTransmitPosition = 15,
       
    62 	EX3pCancelTransmitPosition = 16,
       
    63 	EX3pSetTransmitOptions = 17,
       
    64 	EX3pGetTransmitOptions = 18,
       
    65 	// Owen - this is a hack to be removed very very soon!
       
    66 	EExTimeServerGetTimeSync = 19,
       
    67 	EExTimeServerGetTimeAsync = 20,
       
    68 	EExTimeServerCancelGetTime = 21,
       
    69 	EExTimeServerGetServerName = 22,
       
    70 	EExInVaildMessage = 23,
       
    71 	ELastValidSubSessionMessageId = 24// MUST be last - see the TPolicy
       
    72 	};
       
    73 */
       
    74 
       
    75 #endif // __LBSMESSAGEENUMS_H__