waitnotecontainer.h

来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C头文件 代码 · 共 64 行

H
64
字号
#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 + =
减小字号Ctrl + -
显示快捷键?