⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svexinfopriv.h

📁 演示如何使用的symbian v9服务器应用框架
💻 H
字号:
// Copyright (c) 2006 Murray Read, All rights reserved

#ifndef SVEXINFOPRIV_H
#define SVEXINFOPRIV_H

#include "SvexInfo.h"

// These are private classes which implement different versions
// of the CSvexServiceInfo class

// A service info collection which gets its data directly from
// apparc.
class CSvexDirectServiceInfo : public CSvexServiceInfo
	{
public:
	~CSvexDirectServiceInfo();
	
public: // from MSvexAppServiceInfoArray
	TInt MsasiCount() const;
	TSvexAppServiceInfo MsasiAt(TInt aIndex) const;
	
public: // not exported
	CSvexDirectServiceInfo(TUid aServiceUid, CApaAppServiceInfoArray* aInfo);

private:
	CApaAppServiceInfoArray* iInfo;		// owned
	TArray<TApaAppServiceInfo> iArray;
	};


// A service info collection used by CSvexInfo.
// This class uses a linked list to efficiently collect data
// before turing it into an array.
class CSvexBuildServiceInfo : public CSvexServiceInfo
	{
public:
	~CSvexBuildServiceInfo();
	void AddAppL(TUid aAppUid, const TApaAppServiceInfo& aServInfo);
	void MakeArrayL();

public: // from MSvexAppServiceInfoArray
	TInt MsasiCount() const;
	TSvexAppServiceInfo MsasiAt(TInt aIndex) const;
	
public: // not exported
	CSvexBuildServiceInfo(TUid aServiceUid);

private:
	struct SSvexAppServiceInfo
		{
		TUid iAppUid;
		const TApaAppServiceInfo* iInfo;
		};
	struct SSvexAppServiceInfoList
		{
		SSvexAppServiceInfo iInfo;
		SSvexAppServiceInfoList* iNext;
		};
	SSvexAppServiceInfoList* iFirst;
	TInt iCount;
	RArray<SSvexAppServiceInfo> iArray;
	};

#endif

⌨️ 快捷键说明

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