viewexappui.h

来自「Symbian OS C++手机开发源码」· C头文件 代码 · 共 77 行

H
77
字号
/*
* ============================================================================
*  Name     : CViewExAppUi from ViewExAppUi.h
*  Part of  : ViewEx
*  Copyright (c) 2004 Symbian Software Ltd. All rights reserved.
* ============================================================================
*/

#ifndef VIEWEXAPPUI_H
#define VIEWEXAPPUI_H

// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <eikappui.h>

// FORWARD DECLARATIONS
class CListView;
class CEditView;
class CCustomView;

// CLASS DECLARATION

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

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

	/**
	* Destructor.
	*/      
	~CViewExAppUi();
        
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);

private: //Data
	CListView* iListView;
	CCustomView* iCustomView;
	CEditView* iEditView;
    };

#endif

// End of File

⌨️ 快捷键说明

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