biaofengappui.h

来自「一个可以加载图片作为下拉菜单的symbian手机示例」· C头文件 代码 · 共 96 行

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

#ifndef __BIAOFENGAPPUI_h__
#define __BIAOFENGAPPUI_h__

// INCLUDES
#include <aknappui.h>
#include "MySelectionControl.h"

// FORWARD DECLARATIONS
class CBiaofengAppView;
class CMainWinControl;

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

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

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

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

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;

public:
	
	TInt iMenuState;
	
private:
	// Data
	/**
	 * The application view
	 * Owned by CBiaofengAppUi
	 */
	//CBiaofengAppView* iAppView;
	
private:
    // Data members defined by this class.
    
	CMainWinControl* iMainWinControl;
	CMySelectionControl* iAreaControl;		//����ѡ
	};

#endif // __BIAOFENGAPPUI_h__
// End of File

⌨️ 快捷键说明

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