locationrequestmgmt/networkrequesthandler/inc/lbsnrhmessageenums.h
changeset 36 b47902b73a93
parent 0 9cfd9a3ee49c
equal deleted inserted replaced
35:a2efdd544abf 36:b47902b73a93
       
     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 // This file defines enums specific to the NRH server, on top of the
       
    16 // generic server framework enums in lbsmessageenums.h
       
    17 // The NRH supports two types of subsession: a privacy controller client, 
       
    18 // and a X3P client. This is why there are two groups of message IDs in
       
    19 // the enum below.
       
    20 // 
       
    21 //
       
    22 
       
    23 /**
       
    24  @file
       
    25  @internalComponent
       
    26  @released
       
    27 */
       
    28 
       
    29 #ifndef __LBSNRHMESSAGEENUMS_H__
       
    30 #define __LBSNRHMESSAGEENUMS_H__
       
    31 
       
    32 #include "lbsmessageenums.h"
       
    33 
       
    34 enum ENrhClientServerMessageEnums
       
    35 	{
       
    36 	// ELastSessionMessageId is KMaxInt32/2 aka 16383 (0x3FFFFFFF)
       
    37 	
       
    38 	// Start of IDs for IPC messages for privacy controller client subsessions.
       
    39 	//
       
    40 	// Any new privacy controller message IDs should be added between 
       
    41 	// ENrhPrivacyControllerSubSessionFirstMessageId and 
       
    42 	// ENrhPrivacyControllerSubSessionLastMessageId.
       
    43 	ENrhPrivacyControllerSubSessionFirstMessageId =	0x40000000, // (ELastSessionMessageId + 1)
       
    44 	
       
    45 	ENrhPrivacyControllerRegister = 				ENrhPrivacyControllerSubSessionFirstMessageId,
       
    46 	ENrhPrivacyControllerCancelRegister =			0x40000001,
       
    47 	ENrhPrivacyControllerResponse =					0x40000002,
       
    48 	ENrhPrivacyControllerCancel = 					0x40000003,
       
    49 	
       
    50 	ENrhPrivacyControllerSubSessionLastMessageId,
       
    51 	
       
    52 	// Start of IDs for IPC messages for X3P client subsessions.
       
    53 	//
       
    54 	// Any new privacy controller message IDs should be added between 
       
    55 	// ENrhPrivacyControllerSubSessionFirstMessageId and 
       
    56 	// ENrhPrivacyControllerSubSessionLastMessageId.
       
    57 	EX3pSubSessionFirstMessageId = 					0x40001000, // Leave space for 4096 NrhPrivacyController messages
       
    58 	
       
    59 	EX3pTransmitPosition =							EX3pSubSessionFirstMessageId,
       
    60 	EX3pCancelTransmitPosition = 					0x40001001,
       
    61 	EX3pSetTransmitOptions = 						0x40001002,
       
    62 	EX3pGetTransmitOptions = 						0x40001003,
       
    63 	EX3pReportReferenceLocation =					0x40001004,
       
    64 	
       
    65 	EX3pSubSessionLastMessageId
       
    66 	};
       
    67 	
       
    68 #endif //#define __LBSNRHMESSAGEENUMS_H__
       
    69