activetimer.h

来自「symbian os s60 3rd 活动对象的使用」· C头文件 代码 · 共 39 行

H
39
字号
// Copyright (c) 2006 Nokia Corporation.

#ifndef _ACTIVE_TIMER_H
#define _ACTIVE_TIMER_H

#include <e32base.h>

class MActiveTimerNotify;

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

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

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

    protected: // construction

        CActiveTimer(MActiveTimerNotify& aNotifier);
        void ConstructL();

    protected: // data

		RTimer iTimer;
        MActiveTimerNotify& iNotifier;
    };

#endif // _ACTIVE_TIMER_H

// End of file

⌨️ 快捷键说明

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