📄 ecom_table.cpp
字号:
// Copyright (c) 2004 - 2007, Symbian Software Ltd. All rights reserved.
#include <ecom/implementationproxy.h>
#include "smstransport.h"
#include "emailtransport.h"
#include "mmssendastransport.h"
#include "mmstransport.h"
static const TImplementationProxy ImplementationTable[] =
/** Which implementations of CTransportInterface are supported by this DLL. */
{
IMPLEMENTATION_PROXY_ENTRY(KSmsTransportUidValue, CSmsTransport::NewL),
IMPLEMENTATION_PROXY_ENTRY(KEmailTransportUidValue, CEmailTransport::NewL),
IMPLEMENTATION_PROXY_ENTRY(KMmsSendAsTransportUidValue, CMmsSendAsTransport::NewL),
IMPLEMENTATION_PROXY_ENTRY(KMmsTransportUidValue, CMmsTransport::NewL)
};
EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
/**
This function must be exported from any ECOM plugin DLL. It tells the
caller which implementations, in this case transports, the DLL supports.
@param aTableCount On return this contains the number of supported transports.
@return Table that lists implementation UIDs together with
their factory functions. This table is a static piece
of data; ownership does not transfer to the caller.
*/
{
aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
return ImplementationTable;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -