|
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 |
|
21 |
|
22 // INCLUDE FILES |
|
23 #include <ecom/implementationproxy.h> |
|
24 #include "glxgridviewplugin.hrh" |
|
25 #include "glxmaingridviewplugin.h" |
|
26 #include "glxalbumgridviewplugin.h" |
|
27 #include "glxcameraalbumgridviewplugin.h" |
|
28 #include "glxdownloadsgridviewplugin.h" |
|
29 #include "glxmonthsgridviewplugin.h" |
|
30 #include "glxtaggridviewplugin.h" |
|
31 |
|
32 #if ( !defined IMPLEMENTATION_PROXY_ENTRY ) |
|
33 typedef TAny* TProxyNewLPtr; |
|
34 #define IMPLEMENTATION_PROXY_ENTRY( aUid,aFuncPtr ) { { aUid }, ( TProxyNewLPtr )( aFuncPtr ) } |
|
35 #endif |
|
36 |
|
37 |
|
38 // ======== MEMBER FUNCTIONS ======== |
|
39 |
|
40 // --------------------------------------------------------------------------- |
|
41 // The list of implementations |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 const TImplementationProxy ImplementationTable[] = |
|
45 { |
|
46 IMPLEMENTATION_PROXY_ENTRY( |
|
47 KGlxMainGridViewImplementationId, |
|
48 CGlxMainGridViewPlugin::NewL ), |
|
49 |
|
50 IMPLEMENTATION_PROXY_ENTRY( |
|
51 KGlxAlbumGridViewImplementationId, |
|
52 CGlxAlbumGridViewPlugin::NewL ), |
|
53 |
|
54 IMPLEMENTATION_PROXY_ENTRY( |
|
55 KGlxCameraAlbumGridViewImplementationId, |
|
56 CGlxCameraAlbumGridViewPlugin::NewL ), |
|
57 |
|
58 IMPLEMENTATION_PROXY_ENTRY( |
|
59 KGlxDownloadsGridViewImplementationId, |
|
60 CGlxDownloadsGridViewPlugin::NewL ), |
|
61 |
|
62 IMPLEMENTATION_PROXY_ENTRY( |
|
63 KGlxMonthsGridViewImplementationId, |
|
64 CGlxMonthsGridViewPlugin::NewL ), |
|
65 IMPLEMENTATION_PROXY_ENTRY( |
|
66 KGlxTagGridViewPluginImplementationUid, |
|
67 CGlxTagGridViewPlugin::NewL ), |
|
68 }; |
|
69 |
|
70 // --------------------------------------------------------------------------- |
|
71 // The proxy of implementations |
|
72 // --------------------------------------------------------------------------- |
|
73 // |
|
74 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( |
|
75 TInt& aTableCount ) |
|
76 { |
|
77 aTableCount = |
|
78 sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
79 return ImplementationTable; |
|
80 } |
|
81 |
|
82 // End of File |