drawimageappui.h

来自「symbian的画图程序」· C头文件 代码 · 共 76 行

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

#ifndef DRAWIMAGEAPPUI_H
#define DRAWIMAGEAPPUI_H

// INCLUDES
#include <aknappui.h>

// FORWARD DECLARATIONS
class CDrawImageContainer;


// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*/
class CDrawImageAppUi : public CAknAppUi
	{
	public: // // Constructors and destructor

		/**
		* EPOC default constructor.
		*/
		void ConstructL();

		/**
		* Destructor.
		*/
		~CDrawImageAppUi();

	public: // New functions

	public: // Functions from base classes

	private:
		// From MEikMenuObserver
		void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

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

		/**
		* From CEikAppUi, handles key events.
		* @param aKeyEvent Event to handled.
		* @param aType Type of the key event.
		* @return Response code (EKeyWasConsumed, EKeyWasNotConsumed).
		*/
		virtual TKeyResponse HandleKeyEventL(
			const TKeyEvent& aKeyEvent,TEventCode aType);

		// From CCoeAppUi
	 	CArrayFix<TCoeHelpContext>* HelpContextL() const;

	private: //Data
		CDrawImageContainer* iAppContainer;
	};

#endif


⌨️ 快捷键说明

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