?? clocationexamplepositionlistener.h
字號(hào):
/*
* ============================================================================
* Name : clocationexamplepositionlistener.h
* Part of : Location Example
* Created : 21.05.2007 by Forum Nokia
* Description:
* Version : 1.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef __MPOSITIONOBSERVER__
#define __MPOSITIONOBSERVER__
#include <lbsSatellite.h>
class TPositionInfo;
class TPositionSatelliteInfo;
/**
* Position data listener interface listens position information.
* It can also be used to transfer error messages and codes.
*/
class MPositionObserver
{
public:
/**
* Informs the listener about new location information
* @param aPosInfo Position information class
*/
virtual void PositionUpdatedL(TPositionInfoBase& aPosInfo) = 0;
virtual void FriendPositionUpdatedL(const TDesC& aInfo, const TCoordinate& aCoordinate) = 0;
/**
* Informs the listener about occurred error during position
* request process
* @param aErrorString The error in string format
*/
virtual void ErrorL(const TDesC& aErrorString) = 0;
/**
* Informs the listener about occurred event during position
* request process
* @param aMessage The message in string format
*/
virtual void MessageL(const TDesC& aMessage) = 0;
};
#endif // __MPOSITIONOBSERVER__
// End of File
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -