📄 progressnotetasao.h
字号:
#ifndef ProgressNoteTASAO_H
#define ProgressNoteTASAO_H
// INCLUDES
// System Includes
#include <AknWaitNoteWrapper.h> // MProgressDialogCallback
#include <e32base.h> // CActive
// FORWARD DECLARATIONS
class CAknProgressDialog;
// CLASS DECLARATION
/**
*
* @class CProgressNoteTASAO ProgressNoteTASAO.h
* @brief This is the Active object class for a progress note example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*
*/
class CProgressNoteTASAO : public CActive,
MProgressDialogCallback
{
public: // Constructors and Destructors
~CProgressNoteTASAO();
static CProgressNoteTASAO* NewL();
static CProgressNoteTASAO* NewLC();
public: // members
void SaveGameL();
void DownLoadL();
private: // members
TBool IsProcessDone() const;
void CancelGameSave();
void SaveGamePartToFile ();
void CompleteGameSave();
private: // constructor
CProgressNoteTASAO() : CActive (EPriorityStandard){};
void ConstructL();
private: // from CActive
void RunL();
void DoCancel();
private: // from MProgressDialogCallback
void DialogDismissedL(TInt /*aButtonId*/);
private: //data
RTimer iTimeWaster;
CAknProgressDialog* iProgressDialog;
TInt iStepsCompleted;
};
#endif //ProgressNoteTASAO_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -