?? ecom_table.cpp
字號:
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
#include <ecom/implementationproxy.h>
#include "serialtransport.h"
#include "btcommtransport.h"
static const TImplementationProxy ImplementationTable[] =
/** Which implementations of CTransportInterface are supported by this DLL. */
{
IMPLEMENTATION_PROXY_ENTRY(KSerialCommTransportUidValue, CSerialTransport::NewSerialCommTransportL),
IMPLEMENTATION_PROXY_ENTRY(KIrCommTransportUidValue, CSerialTransport::NewIrCommTransportL),
IMPLEMENTATION_PROXY_ENTRY(KBtCommTransportUidValue, CBtCommTransport::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("-ImplementationGroupProxy,%d", aTableCount);
return ImplementationTable;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -