📄 serviceview.h
字号:
// Copyright (c) 2006 Murray Read, All rights reserved
#ifndef SERVICEVIEW_H
#define SERVICEVIEW_H
#include <SvexListView.h>
#include <SvexService.h>
// CServiceView shows a list of the registered services.
// On OpenL(), it launches a server app to look at the details
// of the selected service.
class CServiceView : public CSvexListView, public MAknServerAppExitObserver
{
public:
static CServiceView* NewLC(const CSvexInfo& aInfo);
~CServiceView();
public: // from CSvexListView
CEikTextListBox* NewListBoxL() const;
TInt Count() const;
void GetText(TInt aIndex, TBuf<KMaxListText>& aText) const;
void OpenL();
private:
CServiceView(const CSvexInfo& aInfo);
void ConstructMainPaneL();
private: // from MAknServerAppExitObserver
void HandleServerAppExit(TInt aReason);
private:
const CSvexInfo& iInfo;
CSvexServiceServiceInfo* iServicesInfo;
CSvexServiceInfoClient* iServerApp;
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -