First public contribution.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
19 #include "TestEComInterface1.h"
20 #include "TestEComInterface2.h"
21 #include "TestEComResolver.h"
24 #include <ecom/implementationproxy.h>
26 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
27 typedef TAny* TProxyNewLPtr;
29 #define IMPLEMENTATION_PROXY_ENTRY(aUid, aFuncPtr) {{aUid},(TProxyNewLPtr)(aFuncPtr)}
32 // __________________________________________________________________________
33 // Exported proxy for instantiation method resolution
34 // Define the interface UIDs
35 const TImplementationProxy ImplementationTable[] =
37 IMPLEMENTATION_PROXY_ENTRY(CTestEComInterface1_UID, CTestEComInterface1::NewL),
38 IMPLEMENTATION_PROXY_ENTRY(CTestEComInterface2_UID, CTestEComInterface2::NewL),
39 IMPLEMENTATION_PROXY_ENTRY(CTestEComResolver_UID, CTestEComResolver::NewL),
42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
44 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
46 return ImplementationTable;
49 /** DLL Entry point */