ctiming.h
来自「基于SYMBIAN OS,series 60平台的经典游戏,超级马力」· C头文件 代码 · 共 74 行
H
74 行
///////////////////////////////////////////////////////////////////////////////
//
// CTiming.h
//
// Copyright (c) 2003 Forum Nokia. All rights reserved.
//
// Technology developed by Rocket Science Oy Ltd
//
///////////////////////////////////////////////////////////////////////////////
#ifndef __CTIMING_H__
#define __CTIMING_H__
// INCLUDE FILES
#include <e32base.h>
// FORWARD DECLARATIONS
class MTimingCall;
// CLASS DECLARATION
/**
* CTiming class handles timing operations
*/
class CTiming
: public CTimer
{
public:
/**
* Two-phased constructor.
*/
static CTiming* CTiming::NewL( MTimingCall* aTimingCall );
/**
* Destructor.
*/
~CTiming();
private:
/**
* Symbian OS Default constructor.
*/
CTiming( MTimingCall* aTimingCall );
void ConstructL();
private: // CActive
void RunL();
public: // New Methods
/**
* Start timer
*/
void Start();
/**
* Stop timer
*/
void Stop();
private: // Data members
MTimingCall* iTimingCall; /// function to call on timer interval
TBool iRunning; /// timer running flag
};
#endif
// End of file
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?