serviceview.h
来自「演示如何使用的symbian v9服务器应用框架」· C头文件 代码 · 共 38 行
H
38 行
// 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 + =
减小字号Ctrl + -
显示快捷键?