📄 serviceexplorerappappui.h
字号:
// Copyright (c) 2006 Murray Read, All rights reserved
#ifndef __SERVICEEXPLORERAPP_APPUI_H__
#define __SERVICEEXPLORERAPP_APPUI_H__
#include <aknappui.h>
// Forward reference
class CSvexInfo;
class CSvexListView;
/*!
@class CServiceExplorerAppAppUi
@discussion An instance of class CServiceExplorerAppAppUi is the UserInterface part of the AVKON
application framework for the ServiceExplorerApp example application
*/
class CServiceExplorerAppAppUi : public CAknAppUi
{
public:
/*!
@function ConstructL
@discussion Perform the second phase construction of a CServiceExplorerAppAppUi object
this needs to be public due to the way the framework constructs the AppUi
*/
void ConstructL();
/*!
@function CServiceExplorerAppAppUi
@discussion Perform the first phase of two phase construction.
This needs to be public due to the way the framework constructs the AppUi
*/
CServiceExplorerAppAppUi();
/*!
@function ~CServiceExplorerAppAppUi
@discussion Destroy the object and release all memory objects
*/
~CServiceExplorerAppAppUi();
CSvexInfo& Info();
public: // from CAknAppUi
/*!
@function HandleCommandL
@discussion Handle user menu selections
@param aCommand the enumerated code for the option selected
*/
void HandleCommandL(TInt aCommand);
void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
private:
void ShowServiceViewL();
void ShowAppsViewL();
void NewViewLX(CSvexListView* aNewView); // assumes aNewView is on the cleanup stack
private:
// The top level views are all CSvexListView derived in these
// demo apps. For this app, this can be either a apps view or a service view.
// CCoeControl derived views are generally better behaved
// than MCoeView derived views, as the view server can't
// mess them up!
CSvexListView* iAppView;
// Use a full CSvexInfo, because this app needs to know
// about all services and apps.
CSvexInfo* iInfo;
};
#endif // __SERVICEEXPLORERAPP_APPUI_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -