screenupdatetimer.h
来自「symbian手机通话录音程序」· C头文件 代码 · 共 94 行
H
94 行
/*
* ============================================================================
* Name : CScreenUpdateTimer from Screenupdatetimer.h
* Part of : RecorderExample
* Created : 20.03.2005 by Forum Nokia
* Description:
* Timer class is activated while recording or playing and every shift
* proressbar is updated via RecorderContainer
* Version : 1.0.0
* Copyright: Nokia Corporation
* ============================================================================
*/
#ifndef SCREENUPDATETIMER_H
#define SCREENUPDATETIMER_H
// INCLUDES
//this is included for CTimer
#include <aknappui.h>
// FORWARD DECLARATIONS
class CRecorderContainer;
class CRecorderAdapter;
struct TTimerModel;
// CLASS DECLARATION
/**
* Timer class.
*/
class CScreenUpdateTimer : public CTimer
{
public: // Constructors and destructor
/**
* CScreenUpdateTimer()
*
* @discussion C++ default constructor.
*/
CScreenUpdateTimer();
/**
* ConstructL()
*
* discussion Default EPOC constructor.
*/
void ConstructL( TTimerModel* aModel,
CRecorderContainer* aContainer,
CRecorderAdapter* aRecorder );
/**
* ~CScreenUpdateTimer()
*
* @discussion Destructor.
*/
virtual ~CScreenUpdateTimer();
private: // from CActive
/**
* RunL()
*
* @discussion Definition of what to do, when timer event occurs.
*/
void RunL();
private: // New function
/**
* Queue()
*
* @discussion Set timer event interval.
*/
void Queue();
private: // Data
TTimerModel* iModel; // Ptr to Timer model
CRecorderContainer* iContainer; // Ptr to Container class
CRecorderAdapter* iRecorder; //Ptr to RecorderAdapter
};
#endif // SCREENUPDATETIMER_H
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?