aknexeditorappui.h
来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C头文件 代码 · 共 136 行
H
136 行
/* Copyright (c) 2004, Nokia. All rights reserved */
#ifndef __AKNEXEDITORAPPUI_H__
#define __AKNEXEDITORAPPUI_H__
// INCLUDES
#include <eikapp.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknviewappui.h>
// FORWARD DECLARATIONS
class CAknExEditorContainer;
class CAknExEditorScenarioManager;
class CAknNavigationControlContainer;
class CAknTabGroup;
class CAknNavigationDecorator;
class CAknTitlePane;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* - view architecture
* - status pane
*
*/
class CAknExEditorAppUi : public CAknViewAppUi
{
public: // // Constructors and destructor
/**
* CAknExEditorAppUi
* C++ default constructor.
*/
CAknExEditorAppUi();
/**
* ConstructL
* Default constructor.
*/
void ConstructL();
/**
* ~CAknExEditorAppUi
* Destructor.
*/
virtual ~CAknExEditorAppUi();
private: // New functions
/**
* ActivateNextViewL
* Activate next view to current view.
*/
void ActivateNextViewL();
/**
* ActivatePrevViewL
* Activate previous view to current view.
*/
void ActivatePrevViewL();
/**
* ActivateViewL
* Activate specified view.
* @param aViewId View id.
*/
void ActivateViewL( TUid aViewId );
private:
/**
* DynInitMenuPaneL
* From MEikMenuObserver, DynInitMenuPaneL.
* @param aResourceID specifies dialog-resource ID.
* @param aMenuPane specifies menu pane
*/
void DynInitMenuPaneL( TInt aResourceId,CEikMenuPane* aMenuPane );
private:
/**
* HandleCommandL
* From CEikAppUi, takes care of command handling.
* @param aCommand command to be handled
*/
void HandleCommandL( TInt aCommand );
/**
* HandleKeyEventL
* From CEikAppUi, handles key events.
* @param aKeyEvent Event to handled.
* @param aType Type of the key event.
* @return Reponse code ( EKeyWasConsumed, EKeyWasNotConsumed ).
*/
virtual TKeyResponse HandleKeyEventL( const TKeyEvent& /*aKeyEvent*/,
TEventCode /*aType*/ );
private: //Data
/**
* iNaviPane
* Does not own.
*/
CAknNavigationControlContainer* iNaviPane;
/**
* iNaviPane
* Does not own.
*/
CAknTabGroup* iTabGroup;
/**
* iNaviPane
* Owned by CAknExEditorAppUi object.
*/
CAknNavigationDecorator* iDecoratedTabGroup;
/**
* iNaviPane
* Does not own.
*/
CAknTitlePane* iTitlePane;
/**
* iNaviPane
* Owned by CAknExEditorAppUi object.
*/
CAknExEditorScenarioManager* iScenarioManager;
TUid iCurrentViewId;
};
#endif // __AKNEXEDITORAPPUI_H__
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?