|
1 /* |
|
2 * Copyright (c) 2008 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: Standard proxy of the ECOM plugin* |
|
15 */ |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 #include <ecom/implementationproxy.h> |
|
21 #include <vcxmyvideosuids.h> |
|
22 #include "vcxmyvideoscollectionplugin.h" |
|
23 |
|
24 #if (!defined IMPLEMENTATION_PROXY_ENTRY) |
|
25 typedef TAny* TProxyNewLPtr; |
|
26 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) {{aUid},(TProxyNewLPtr)(aFuncPtr)} |
|
27 #endif |
|
28 |
|
29 // ---------------------------------------------------------------------------- |
|
30 // The list of implementations |
|
31 // ---------------------------------------------------------------------------- |
|
32 // |
|
33 const TImplementationProxy ImplementationTable[] = |
|
34 { IMPLEMENTATION_PROXY_ENTRY(KVcxUidMyVideosMpxCollection, CVcxMyVideosCollectionPlugin::NewL) }; |
|
35 |
|
36 // ---------------------------------------------------------------------------- |
|
37 // The proxy of implementations |
|
38 // ---------------------------------------------------------------------------- |
|
39 // |
|
40 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
41 { |
|
42 aTableCount=sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
43 return ImplementationTable; |
|
44 } |