?? 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 + -