sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: #include "TestEComInterface1.h" sl@0: #include "TestEComInterface2.h" sl@0: #include "TestEComResolver.h" sl@0: sl@0: // ECom includes sl@0: #include sl@0: sl@0: #if (!defined IMPLEMENTATION_PROXY_ENTRY) sl@0: typedef TAny* TProxyNewLPtr; sl@0: sl@0: #define IMPLEMENTATION_PROXY_ENTRY(aUid, aFuncPtr) {{aUid},(TProxyNewLPtr)(aFuncPtr)} sl@0: #endif sl@0: sl@0: // __________________________________________________________________________ sl@0: // Exported proxy for instantiation method resolution sl@0: // Define the interface UIDs sl@0: const TImplementationProxy ImplementationTable[] = sl@0: { sl@0: IMPLEMENTATION_PROXY_ENTRY(CTestEComInterface1_UID, CTestEComInterface1::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(CTestEComInterface2_UID, CTestEComInterface2::NewL), sl@0: IMPLEMENTATION_PROXY_ENTRY(CTestEComResolver_UID, CTestEComResolver::NewL), sl@0: }; sl@0: sl@0: EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) sl@0: { sl@0: aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); sl@0: sl@0: return ImplementationTable; sl@0: } sl@0: sl@0: /** DLL Entry point */