⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 clocationexamplepositionlistener.h

📁 这是一个关于s60基于c++的关于手机地图和定位的代码
💻 H
字号:
/*
* ============================================================================
*  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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -