First public contribution.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Complements ExampleResolver.cpp to form a custom resolver DLL.
15 // The Implementation UID is defined in the mmp file.
24 #include <ecom/implementationproxy.h>
25 #include "ExampleResolver.h"
27 #if defined (CUSTOMRESOLVERIMPLUID_200126CD)
28 #define MYIMPLUID 0x200126CD
29 #elif defined (CUSTOMRESOLVERIMPLUID_A0001346)
30 #define MYIMPLUID 0xA0001346
31 #elif defined (CUSTOMRESOLVERIMPLUID_A0001347)
32 #define MYIMPLUID 0xA0001347
35 // __________________________________________________________________________
36 // Exported proxy for instantiation method resolution
37 // Define the interface UIDs
38 const TImplementationProxy ImplementationTable[] =
40 IMPLEMENTATION_PROXY_ENTRY(MYIMPLUID, CExampleResolver::NewL)
43 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
45 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
46 return ImplementationTable;