ecom_table.cpp

来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 31 行

CPP
31
字号
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.

#include <ecom/implementationproxy.h>

#include "infraredtransport.h"


static const TImplementationProxy ImplementationTable[] =
/** Which implementations of CTransportInterface are supported by this DLL. */
	{
	IMPLEMENTATION_PROXY_ENTRY(KIrSocketTransportUidValue, CInfraredTransport::NewL),
	};

EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
/**
	This function is exported from every plugin DLL.  It returns the
	table which identifies how to allocate the implementations described
	in the matching resource file.

	@param	aTableCount		On exit this contains the number of supported
							implementations.
	@return					Table which matches each implementation UID with	
							its factory function.
 */
	{
	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
	TRAN_LOG1("-IrSocket ImplementationGroupProxy,%d", aTableCount);
	return ImplementationTable;
	}

⌨️ 快捷键说明

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