📄 waitnotecontainer.h
字号:
#ifndef WAITNOTECONTAINER_H
#define WAITNOTECONTAINER_H
// INCLUDES
// System includes
#include <AknWaitNoteWrapper.h> // MAknBackgroundProcess
#include <coecntrl.h> // CCoeControl
// CLASS DECLARATION
/**
*
* @class CWaitNoteContainer WaitNoteContainer.h
* @brief This is the container class for a note example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CWaitNoteContainer : public CCoeControl, public MAknBackgroundProcess
{
public: // Constructors and destructor
static CWaitNoteContainer* NewL(const TRect& aRect);
static CWaitNoteContainer* NewLC(const TRect& aRect);
~CWaitNoteContainer();
public: // members
void SaveGameL();
private: // members
void CancelGameSave();
void CompleteGameSave();
void SaveGamePartToFile();
private: // from MAknBackgroundProcess
void DialogDismissedL(TInt /*aButtonId*/);
TBool IsProcessDone() const;
void ProcessFinished();
void StepL();
private: // constructor
void ConstructL(const TRect& aRect);
private: // from CoeControl
void Draw(const TRect& aRect) const;
private: // data
RTimer iTimeWaster;
TInt iStepsCompleted;
};
#endif // #ifndef WAITNOTECONTAINER_H
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -