|
1 /* |
|
2 * Copyright (c) 2008-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 "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> //Definition for the TImplementationProxy structure. |
|
21 |
|
22 #include "glxcollectionplugintags.h" |
|
23 #include "glxcollectionplugintags.hrh" |
|
24 |
|
25 |
|
26 #if (!defined IMPLEMENTATION_PROXY_ENTRY) |
|
27 typedef TAny* TProxyNewLPtr; |
|
28 |
|
29 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) |
|
30 {{aUid},(TProxyNewLPtr)(aFuncPtr)} |
|
31 #endif |
|
32 |
|
33 |
|
34 |
|
35 // ---------------------------------------------------------------------------- |
|
36 // The list of implementations |
|
37 // ---------------------------------------------------------------------------- |
|
38 // |
|
39 const TImplementationProxy ImplementationTable[] = |
|
40 { |
|
41 IMPLEMENTATION_PROXY_ENTRY(KGlxTagCollectionPluginImplementationUid, |
|
42 CGlxCollectionPluginTags::NewL) |
|
43 }; |
|
44 |
|
45 |
|
46 // --------------------------------------------------------------------------- |
|
47 // The proxy of implementations |
|
48 // ---------------------------------------------------------------------------- |
|
49 // |
|
50 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount) |
|
51 { |
|
52 aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy); |
|
53 return ImplementationTable; |
|
54 } |
|
55 |
|
56 // End of File |