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

📄 exampletimer.h

📁 电话录音
💻 H
字号:
// Copyright (c) 2006 Nokia Corporation.

#ifndef _ACTIVE_TIMER_H
#define _ACTIVE_TIMER_H

#include <e32base.h>
#include <e32cons.h>
#include <f32file.h>
#include <UTF.H>

class MExampleTimerNotify
    {
    public:
        virtual void TimerExpired(TInt aError) = 0;
    };


class CExampleTimer : public CActive
    {
    public: // construction / destruction
    
        static CExampleTimer* NewL(MExampleTimerNotify& aNotifier);
        ~CExampleTimer();

    public: // new functions
    
        void After(TTimeIntervalMicroSeconds32 anInterval);

    protected: // CActive overrides
    
        void RunL();
        void DoCancel();

    protected: // construction

        CExampleTimer(MExampleTimerNotify& aNotifier);
        void ConstructL();

    protected: // data

		RTimer iTimer;
        MExampleTimerNotify& iNotifier;		
    };

#endif // _ACTIVE_TIMER_H

// End of file

⌨️ 快捷键说明

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