📄 ccontappui.h
字号:
/* Copyright (c) 2003, Nokia. All rights reserved */
#ifndef __CCONTAPPUI_H__
#define __CCONTAPPUI_H__
// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>
// FORWARD DECLARATIONS
class CContContainer;
// CLASS DECLARATION
/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*/
class CContAppUi : public CAknAppUi
{
public: // // Constructors and destructor
/**
* Default constructor
*/
void ConstructL();
/**
* Destructor
* Destructor is always virtual
*/
virtual ~CContAppUi();
private:
/**
* From MEikMenuObserver
* @param aResourceId Resource ID identifying the menu pane to initialise
* @param aMenuPane The in-memory representation of the menu pane.
*/
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: // local methods
/**
* UpdateTitleL
* The method updates title text
* @param aResourceId Resource ID for text
*/
void UpdateTitleL( TInt aResourceId );
private: //Data
/**
* iAppContainer the container class
* Owned by CContAppUi object, instantiated in
* ConstructL, deleted in destructor
*/
CContContainer* iAppContainer;
};
#endif // __CCONTAPPUI_H__
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -