proxy.cpp

来自「ecom symbian os application development」· C++ 代码 · 共 23 行

CPP
23
字号
//
// Proxy.cpp

#include <e32std.h>
#include <ImplementationProxy.h>
#include "CHardwareCrypto.h"
#include "CSoftwareCrypto.h"

// Map the interface UIDs to implementation factory functions
const TImplementationProxy ImplementationTable[] = 
	{
		{{0x10008EE4},	CHardwareCrypto::NewL},
		{{0x10008EE5},	CSoftwareCrypto::NewL}
	};

// Exported proxy for instantiation method resolution
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
	{
	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
	return ImplementationTable;
	}

⌨️ 快捷键说明

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