?? audioplayertimer.h
字號(hào):
#ifndef __AUDIOPLAYERTIMER_H__
#define __AUDIOPLAYERTIMER_H__
#include <e32base.h>
/**
* Observer for when Timer completes
*/
class MAudioPlayerTimerObserver
{
public:
virtual void TimerCompleteL() = 0;
};
// CLASS DECLARATION
/**
*
* @class AudioPlayerTimer AudioPlayerTimer.h
* @brief This class is an elementary timer object, deriving from CTimer.
* As soon as the object is created, it starts waiting for iTime to expire.
* When it does, the RunL() is called and the observer is updated.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CAudioPlayerTimer : public CTimer
{
public:
static CAudioPlayerTimer* NewL(MAudioPlayerTimerObserver& aObserver, TInt aTime);
~CAudioPlayerTimer();
public: // CActive
void RunL();
void DoCancel();
private:
CAudioPlayerTimer(MAudioPlayerTimerObserver& aObserver, TInt aTime);
void ConstructL();
private:
MAudioPlayerTimerObserver& iObserver;
TInt iTime;
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -