diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-008F9006-8548-443D-A7ED-4A8233E051C6.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-008F9006-8548-443D-A7ED-4A8233E051C6.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,33 @@ + + + + + +Implement +the ECom framework code +

Converters must provide the standard ECom factory code +to create an instance of the converter. For example,

CConverterBase2* CExampleConverter::NewL() + { + CConverterBase2* conv = new( ELeave ) CExampleConverter(); + return conv; + } +// Standard ECOM factory code +const TImplementationProxy ImplementationTable[] = + { + IMPLEMENTATION_PROXY_ENTRY( KExampleConvImplementationUid, CExampleConverter::NewL ) + }; +// Standard ECOM factory code +EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount ) + { + aTableCount = sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); + return ImplementationTable; + } +

For more details on ECom factory code, see Exporting the implementation +factories.

+
\ No newline at end of file