lbsipc.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : LbsIpc.h
00004 *  Part of     : Mobile Location Framework/Location FW
00005 *  Interface   : Location Acquisition API
00006 *  Description : Client-Server Request codes
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2002-2005 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation. All rights are reserved. Copying,
00013 *  including reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia Corporation. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef __LBSIPC_H__
00022 #define __LBSIPC_H__
00023 
00024 // 0x00000000 to 0x00000FFF not used
00025 #define EPositioningIpcOffset           0x1000
00026 
00027 // 0x00001000 to 0x00001FFF reserved for RPositionServer requests
00028 #define EPositionServerIpcOffset        (EPositioningIpcOffset)
00029 
00030 // 0x00002000 to 0x00002FFF reserved for RPositioner requests
00031 #define EPositionerIpcOffset            (EPositionServerIpcOffset + 0x1000)
00032 
00033 // 0x40000000 to 0x7FFFFFFF reserved for 3rd party extensions to the LBS API.
00034 // All extensions implemented by 3rd parties should be implemented in this range.
00035 #define EPositionerCustomIpcOffset      0x40000000
00036 
00037 
00038 enum TPositionIpcId
00039     {
00040     //
00041     // Request IDs
00042 
00043     EPositionServerCancelAsyncRequest       = EPositionServerIpcOffset,
00044     EPositionServerConnect,
00045     EPositionServerGetDefaultModuleId,
00046     EPositionServerGetNumModules,
00047     EPositionServerGetModuleInfoByIndex,
00048     EPositionServerGetModuleInfoById,
00049     EPositionServerGetModuleStatus,
00050     EPositionServerNotifyModuleStatusEvent,
00051 
00052     EPositionerCancelAsyncRequest           = EPositionerIpcOffset,
00053     EPositionerOpen,
00054     EPositionerOpenModuleId,
00055     EPositionerOpenCriteria,
00056     EPositionerClose,
00057     EPositionerSetSingleRequestor,
00058     EPositionerSetMultipleRequestors,
00059     EPositionerSetUpdateOptions,
00060     EPositionerGetUpdateOptions,
00061     EPositionerGetLastKnownPosition,
00062     EPositionerNotifyPositionUpdate,
00063 
00064     EPositionerCustomCodesBegin             = EPositionerCustomIpcOffset,
00065     };
00066 
00067 // __LBSIPC_H__
00068 #endif

Copyright © Nokia Corporation 2001-2008
Back to top