svexregdialog.h

来自「演示如何使用的symbian v9服务器应用框架」· C头文件 代码 · 共 44 行

H
44
字号
// Copyright (c) 2006 Murray Read, All rights reserved

#ifndef SVEXREGDIALOG_H
#define SVEXREGDIALOG_H

#include <SvexInfo.h>

class CAknMessageQueryDialog;
class CCoeEnv;
class CSvexServiceServiceInfo;

// A class that shows a dialog containing registration information
// for a particular app and service registration.
// This class contains the dialog, rather than being the dialog,
// because it also needs to load resources for the dialog.
class CAppServiceInfoDialog : public CBase
	{
public:
	IMPORT_C static CAppServiceInfoDialog* NewL(const TSvexAppServiceInfo& aReg, const CSvexInfoBase& aInfo);
	IMPORT_C ~CAppServiceInfoDialog();
	IMPORT_C void ExecuteLD();
protected:
	IMPORT_C CAppServiceInfoDialog(const TSvexAppServiceInfo& aReg, const CSvexInfoBase& aInfo);
	IMPORT_C void AppendTextL(const TDesC& aText);
	IMPORT_C void ConstructL();
protected: // for derived classes to override
	// Use AppendTextL to build the dialog's text.
	IMPORT_C virtual void DialogTextL();
private:
	void LoadResourcesL();
	void MakeBufL();
protected:
	const TSvexAppServiceInfo& iReg;
	const CSvexInfoBase& iInfo;
	CSvexServiceServiceInfo* iServicesInfo;
private:
	CAknMessageQueryDialog* iDialog;
	CCoeEnv* iCoeEnv;
	TInt iResourceOffset;
	HBufC* iBuf;
	};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?