1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "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". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #include <e32std.h> |
|
21 #include <ecom/ImplementationProxy.h> // ECOM header file |
|
22 //#include <ImplementationInformation.h> |
|
23 |
|
24 #include "tPluginBase.h" // Class definition for with the available implementations |
|
25 |
|
26 |
|
27 // Map the interface UIDs to implementation factory functions |
|
28 const TImplementationProxy ImplementationTable[] = |
|
29 { |
|
30 IMPLEMENTATION_PROXY_ENTRY(0x11112FFF, CTPlugin11112FFF::NewL), |
|
31 IMPLEMENTATION_PROXY_ENTRY(0x11113000, CTPlugin11113000::NewL), |
|
32 IMPLEMENTATION_PROXY_ENTRY(0x11113001, CTPlugin11113001::NewL), |
|
33 IMPLEMENTATION_PROXY_ENTRY(0x11113002, CTPlugin11113002::NewL), |
|
34 IMPLEMENTATION_PROXY_ENTRY(0x11113003, CTPlugin11113003::NewL), |
|
35 IMPLEMENTATION_PROXY_ENTRY(0x11113004, CTPlugin11113004::NewL), |
|
36 IMPLEMENTATION_PROXY_ENTRY(0x11113005, CTPlugin11113005::NewL), |
|
37 IMPLEMENTATION_PROXY_ENTRY(0x11113006, CTPlugin11113006::NewL), |
|
38 IMPLEMENTATION_PROXY_ENTRY(0x11113007, CTPlugin11113007::NewL), |
|
39 IMPLEMENTATION_PROXY_ENTRY(0x11113008, CTPlugin11113008::NewL), |
|
40 IMPLEMENTATION_PROXY_ENTRY(0x11113009, CTPlugin11113009::NewL) |
|
41 }; |
|
42 |
|
43 // Exported proxy function to resolve intstantiation methods for an ECOM plugin dll |
|
44 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
45 { |
|
46 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
47 return ImplementationTable; |
|
48 } |
|