simplemenucontainer.h

来自「symbian下一个目录的例子,对新手有很大帮助」· C头文件 代码 · 共 42 行

H
42
字号
#ifndef SIMPLEMENUCONTAINER_H
#define SIMPLEMENUCONTAINER_H

// INCLUDES

// System includes
#include <coecntrl.h> // CCoeControl

// CLASS DECLARATION

/**
*
* @class	CSimpleMenuContainer SimpleMenuContainer.h
* @brief	This is the container class for the SimpleMenu example based on the
* standard Symbian OS architecture.
*
* Copyright (c) EMCC Software Ltd 2003
* @version	1.0
*
*/
class CSimpleMenuContainer : public CCoeControl
	{
public: // Constructors and destructor

	static CSimpleMenuContainer* NewL(const TRect& aRect);
	static CSimpleMenuContainer* NewLC(const TRect& aRect);

public: // members
	void PlayNewGameVia(TInt aCommandId);

private: // Constructor
	void ConstructL(const TRect& aRect);

private: // from CoeControl

	void Draw(const TRect& aRect) const;
	};

#endif	// #ifndef SIMPLEMENUCONTAINER_H

// End of File

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?