⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 demonsymappui.h

📁 symbian下的一个例子
💻 H
字号:
/*
============================================================================
 Name        : CDemonsymAppUi from DemonsymAppui.h
 Author      : huhao
 Version     :
 Copyright   : baidu
 Description : Declares UI class for application.
============================================================================
*/

#ifndef DEMONSYMAPPUI_H
#define DEMONSYMAPPUI_H

// INCLUDES
#include <aknviewappui.h>
#include <akntabgrp.h>
#include <aknnavide.h>

#include <akntabobserver.h>

// FORWARD DECLARATIONS
class CDemonsymContainer;


// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* - view architecture
* - status pane
* 
*/
class CDemonsymAppUi : public CAknViewAppUi, MAknTabObserver
	{
	public: // // Constructors and destructor

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

		/**
		* Destructor.
		*/
		~CDemonsymAppUi();
		
	public: // New functions

	public: // Functions from base classes
		/**
		* From MAknTabObserver.
		* @param aIndex tab index
		*/
		void TabChangedL(TInt aIndex);

	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, HelpContextL.
		*  Provides help context for the application.
		*  size is changed.
		*/
	 	CArrayFix<TCoeHelpContext>* HelpContextL() const;
		
		/**
		* Shows privacy statement if needed.
		*/
		void PrivacyStatementL();
		
		/**
		* Reads unicode file from specified location.
		* @param aFs reference to open file session
		* @param aFileName full file name
		* @return heap descriptor which contains whole file
		*/
		static HBufC * ReadUnicodeFileL(RFs& aFs, const TDesC& aFileName);
		
	private: //Data
		CAknNavigationControlContainer* iNaviPane;
		CAknTabGroup* iTabGroup;
		CAknNavigationDecorator* iDecoratedTabGroup;
	};

#endif

⌨️ 快捷键说明

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