examples/ForumNokia/EComCalculator/plugin/src/proxy.cpp

00001 /*
00002  * ============================================================================
00003  *  Name     : EComProxy entry point from proxy.cpp
00004  *  Part of  : EComCalculator
00005  *  Created  : 29/05/2006 by Forum Nokia
00006  *  Version  : 2.0
00007  *  Copyright: Nokia Corporation
00008  * ============================================================================
00009  */
00010 
00011 #include <e32std.h>
00012 #include <ImplementationProxy.h>
00013 
00014 #include "EComImplementationPlus.h"
00015 #include "EComImplementationMultiply.h"
00016 
00017 // Map the interface implementation UIDs to implementation factory functions
00018 const TImplementationProxy ImplementationTable[] =
00019     {
00020         #ifdef __SERIES60_3X__
00021             IMPLEMENTATION_PROXY_ENTRY(0xE0009DC7,  CImplementationClassPlus::NewL),
00022             IMPLEMENTATION_PROXY_ENTRY(0xE0009DC8,  CImplementationClassMultiply::NewL)
00023         #else
00024             {{0x10009DC7},  CImplementationClassPlus::NewL},
00025             {{0x10009DC8},  CImplementationClassMultiply::NewL}
00026         #endif
00027     };
00028 
00029 
00030 // Exported proxy for instantiation method resolution.
00031 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
00032     TInt& aTableCount)
00033     {
00034     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
00035     return ImplementationTable;
00036     }

Generated by  doxygen 1.6.2