📄 svexopenappappui.h
字号:
// Copyright (c) 2006 Murray Read, All rights reserved
#ifndef __SVEXOPENAPP_APPUI_H__
#define __SVEXOPENAPP_APPUI_H__
#include <aknappui.h>
// Forward reference
class CSvexOpenAppAppView;
class CSvexInfoBase;
class CSvexOpenAppMimeView;
class CSvexServiceInfo;
/*!
@class CSvexOpenAppAppUi
@discussion An instance of class CSvexOpenAppAppUi is the UserInterface part of the AVKON
application framework for the SvexOpenApp example application
*/
class CSvexOpenAppAppUi : public CAknAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CSvexOpenAppAppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function CSvexOpenAppAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CSvexOpenAppAppUi();
/*!
@function ~CSvexOpenAppAppUi
@discussion Destroy the object and release all memory objects
*/
~CSvexOpenAppAppUi();
public: // handler function for the session
void ShowAllL();
void ShowAppL(TUid aAppUid);
void ShowAppAndExitL(TUid aAppUid);
void ShowMimeL();
void RemoveView(CCoeControl*& aView);
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
public:
void ShowAppAndExitNowL(TUid aAppUid);
private: // delayed ShowAppAndExitL support
static TInt ShowAppAndExitCallBackL(TAny* aThis);
CAsyncCallBack* iCallBack;
TUid iAppUid;
private:
// The apps view, iAppView, and mime view, iMimeView, are the
// two top level views in OpenApp.
CSvexOpenAppAppView* iAppView;
// The lightweight CSvexInfoBase class is used for services/apps info
CSvexInfoBase* iInfo;
CSvexOpenAppMimeView* iMimeView;
};
#endif // __SVEXOPENAPP_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -