|
1 /* |
|
2 * Copyright (c) 2007 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 "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: Implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 #include <e32std.h> |
|
19 #include <ecom/ImplementationProxy.h> |
|
20 #include "CTTCNResolverPlugin1.h" |
|
21 #include "CTTCNResolverPlugin2.h" |
|
22 #include "CTTCNResolverPlugin3.h" |
|
23 |
|
24 // Map the interface UIDs to implementation factory functions |
|
25 const TImplementationProxy Implementations[] = |
|
26 { |
|
27 IMPLEMENTATION_PROXY_ENTRY( KTTCNResolverPluginUID1, |
|
28 CTTCNResolverPlugin1::NewL ), |
|
29 IMPLEMENTATION_PROXY_ENTRY( KTTCNResolverPluginUID2, |
|
30 CTTCNResolverPlugin2::NewL ), |
|
31 IMPLEMENTATION_PROXY_ENTRY( KTTCNResolverPluginUID3, |
|
32 CTTCNResolverPlugin3::NewL ) |
|
33 }; |
|
34 |
|
35 // ----------------------------------------------------------------------------- |
|
36 // ImplementationGroupProxy |
|
37 // |
|
38 // Exported proxy for instantiation method resolution |
|
39 // ----------------------------------------------------------------------------- |
|
40 // |
|
41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aCount ) |
|
42 { |
|
43 aCount = sizeof( Implementations ) / sizeof( TImplementationProxy ); |
|
44 return Implementations; |
|
45 } |
|
46 |
|
47 |