ansphonecalllog.h

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C头文件 代码 · 共 57 行

H
57
字号
#ifndef __ANSPHONECALLLOG_H__
#define __ANSPHONECALLLOG_H__

#include <logcli.h>
#include <logview.h>

/**
*
* @class    MAnsPhoneCallLogObserver AnsPhoneCallLog.h
* @brief    Mixin Class for Onservers of the PhoneCall log
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/

class MAnsPhoneCallLogObserver
{
    public:
        virtual void HandlePhoneNumberL(const TDesC& aNumber) = 0;
};

/**
*
* @class    CAnsPhoneCallLog AnsPhoneCallLog.h
* @brief    This class enables the number of the call that just phoned to be retrieved
*
* Copyright (c) EMCC Software Ltd 2003
* @version    1.0
*
*/

class CAnsPhoneCallLog    :    public CActive
{
    public:
        static CAnsPhoneCallLog* NewL(MAnsPhoneCallLogObserver& aObserver);
        ~CAnsPhoneCallLog();

    public:                // CActive
        virtual void RunL();
        virtual void DoCancel();

    public:
        void GetNumberL();

    private:
        CAnsPhoneCallLog(MAnsPhoneCallLogObserver& aObserver);
        void ConstructL();

    private:
        MAnsPhoneCallLogObserver&    iObserver;
        CLogClient*                    iSession;
        CLogViewRecent*                iRecentView;
};

#endif

⌨️ 快捷键说明

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