|
S60 3rd Edition SDK for Symbian OS Example Applications Guide |
00001 /* 00002 * ============================================================================== 00003 * Name : LbsPositionListener.h 00004 * Part of : LBSReference example application 00005 * Interface : 00006 * Description : Position listener interface 00007 * Version : 1.0 00008 * 00009 * Copyright (c) 2005-2006 Nokia Corporation. 00010 * This material, including documentation and any related 00011 * computer programs, is protected by copyright controlled by 00012 * Nokia Corporation. 00013 * ============================================================================== 00014 */ 00015 00016 #ifndef LBSPOSITIONLISTENER_H 00017 #define LBSPOSITIONLISTENER_H 00018 00019 #include <lbsSatellite.h> 00020 00021 class TPositionInfo; 00022 class TPositionSatelliteInfo; 00023 00024 /** 00025 * Position data listener interface listens position information. 00026 * It can also be used to transfer error messages and codes. 00027 */ 00028 class MLbsPositionListener 00029 { 00030 public: 00031 00032 /** 00033 * PositionInfoUpdatedL informs the listener about new location information 00034 * @param aModulename The name of the module which provided this information 00035 * @param aPosInfo Position information class 00036 */ 00037 virtual void PositionInfoUpdatedL(TPositionInfoBase& aPosInfo, 00038 const TDesC& aModulename) = 0; 00039 00040 /** 00041 * ShowErrorL informs the listener about occurred error during position 00042 * request process 00043 * @param aErrorString The error in string format 00044 */ 00045 virtual void ShowErrorL(const TDesC& aErrorString) = 0; 00046 00047 /** 00048 * ShowMessageL informs the listener about occurred event during position 00049 * request process 00050 * @param aMessage The message in string format 00051 */ 00052 virtual void ShowMessageL(const TDesC& aMessage) = 0; 00053 00054 }; 00055 00056 #endif //LBSPOSITIONLISTENER_H 00057 00058 00059 // End of File
|
© Nokia 2006 |