📄 roidsappui.h
字号:
/*
============================================================================
Name : CRoidsAppUi from RoidsAppUi.h
Author :
Version :
Copyright : Your copyright notice
Description : Declares main application UI class.
============================================================================
*/
#ifndef ROIDSAPPUI_H
#define ROIDSAPPUI_H
#include "RoidsContainer.h"
#include "config.h"
/**
This class represents the application UI in Roids application,
It has responsibility to create the view.
@since UIQ 3.0
*/
class CRoidsAppUi : public ROIDS_APP_UI_BASECLASS
{
public: // Constructors and destructor
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
/**
* CRoidsAppUi.
* C++ default constructor. This needs to be public due to
* the way the framework constructs the AppUi
*/
CRoidsAppUi();
/**
* ~CRoidsAppUi.
* Virtual Destructor.
*/
virtual ~CRoidsAppUi();
private: // Functions from base classes
void DynInitMenuPaneL(TInt /*aResourceId*/,CEikMenuPane* /*aMenuPane*/){};
/**
* From CEikAppUi, HandleCommandL.
* Takes care of command handling.
* @param aCommand Command to be handled.
*/
void HandleCommandL( TInt aCommand );
void HandleStatusPaneSizeChange();
/**
* HandleStatusPaneSizeChange.
* Called by the framework when the application status pane
* size is changed.
*/
virtual TKeyResponse HandleKeyEventL(
const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/){return EKeyWasNotConsumed;};
private: // Data
/**
* The application view
* Owned by CRoidsAppUi
*/
CRoidsContainer* iAppContainer;
};
#endif // ROIDSAPPUI_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -