ecom_table.cpp
来自「Symbian OS C++ for Mobile Phones v3 Exam」· C++ 代码 · 共 30 行
CPP
30 行
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
#include <ecom/implementationproxy.h>
#include "bluetoothtransport.h"
static const TImplementationProxy ImplementationTable[] =
/** Which implementations of CTransportInterface are supported by this DLL. */
{
IMPLEMENTATION_PROXY_ENTRY(KBluetoothTransportUidValue, CBluetoothTransport::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);
return ImplementationTable;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?