examhelloworldappui.h

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C头文件 代码 · 共 86 行

H
86
字号
/*
 ============================================================================
 Name		: ExamHelloWorldAppUi.h
 Author	  : 
 Copyright   : Your copyright notice
 Description : Declares UI class for application.
 ============================================================================
 */

#ifndef __EXAMHELLOWORLDAPPUI_h__
#define __EXAMHELLOWORLDAPPUI_h__

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CExamHelloWorldAppView;

// CLASS DECLARATION
/**
 * CExamHelloWorldAppUi application UI class.
 * Interacts with the user through the UI and request message processing
 * from the handler class
 */
class CExamHelloWorldAppUi : public CAknAppUi
	{
public:
	// Constructors and destructor

	/**
	 * ConstructL.
	 * 2nd phase constructor.
	 */
	void ConstructL();

	/**
	 * CExamHelloWorldAppUi.
	 * C++ default constructor. This needs to be public due to
	 * the way the framework constructs the AppUi
	 */
	CExamHelloWorldAppUi();

	/**
	 * ~CExamHelloWorldAppUi.
	 * Virtual Destructor.
	 */
	virtual ~CExamHelloWorldAppUi();

private:
	// Functions from base classes

	/**
	 * From CEikAppUi, HandleCommandL.
	 * Takes care of command handling.
	 * @param aCommand Command to be handled.
	 */
	void HandleCommandL(TInt aCommand);

	/**
	 *  HandleStatusPaneSizeChange.
	 *  Called by the framework when the application status pane
	 *  size is changed.
	 */
	void HandleStatusPaneSizeChange();

	/**
	 *  From CCoeAppUi, HelpContextL.
	 *  Provides help context for the application.
	 *  size is changed.
	 */
	CArrayFix<TCoeHelpContext>* HelpContextL() const;

private:
	// Data

	/**
	 * The application view
	 * Owned by CExamHelloWorldAppUi
	 */
	CExamHelloWorldAppView* iAppView;

	};

#endif // __EXAMHELLOWORLDAPPUI_h__
// End of File

⌨️ 快捷键说明

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