|
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 "glxfullscreenviewplugin.hrh" |
|
25 #include "glxmainfullscreenviewplugin.h" |
|
26 #include "glxalbumfullscreenviewplugin.h" |
|
27 #include "glxcameraalbumfullscreenviewplugin.h" |
|
28 #include "glxtagfullscreenviewplugin.h" |
|
29 #include "glximageviewerfullscreenviewplugin.h" |
|
30 |
|
31 #if ( !defined IMPLEMENTATION_PROXY_ENTRY ) |
|
32 typedef TAny* TProxyNewLPtr; |
|
33 #define IMPLEMENTATION_PROXY_ENTRY( aUid,aFuncPtr ) { { aUid }, ( TProxyNewLPtr )( aFuncPtr ) } |
|
34 #endif |
|
35 |
|
36 |
|
37 // ======== MEMBER FUNCTIONS ======== |
|
38 |
|
39 // --------------------------------------------------------------------------- |
|
40 // The list of implementations |
|
41 // --------------------------------------------------------------------------- |
|
42 // |
|
43 const TImplementationProxy ImplementationTable[] = |
|
44 { |
|
45 IMPLEMENTATION_PROXY_ENTRY( |
|
46 KGlxMainFullScreenViewImplementationId, |
|
47 CGlxMainFullScreenViewPlugin::NewL ), |
|
48 |
|
49 IMPLEMENTATION_PROXY_ENTRY( |
|
50 KGlxAlbumFullScreenViewImplementationId, |
|
51 CGlxAlbumFullScreenViewPlugin::NewL ), |
|
52 |
|
53 IMPLEMENTATION_PROXY_ENTRY( |
|
54 KGlxCameraAlbumFullScreenViewImplementationId, |
|
55 CGlxCameraAlbumFullScreenViewPlugin::NewL ), |
|
56 |
|
57 IMPLEMENTATION_PROXY_ENTRY( |
|
58 KGlxTagFullScreenViewPluginImplementationUid, |
|
59 CGlxTagFullScreenViewPlugin::NewL ), |
|
60 |
|
61 IMPLEMENTATION_PROXY_ENTRY( |
|
62 KGlxImageViewerFullScreenViewImplementationId, |
|
63 CGlxImageViewerScreenViewPlugin::NewL ), |
|
64 }; |
|
65 |
|
66 // --------------------------------------------------------------------------- |
|
67 // The proxy of implementations |
|
68 // --------------------------------------------------------------------------- |
|
69 // |
|
70 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( |
|
71 TInt& aTableCount ) |
|
72 { |
|
73 aTableCount = |
|
74 sizeof( ImplementationTable ) / sizeof( TImplementationProxy ); |
|
75 return ImplementationTable; |
|
76 } |
|
77 |
|
78 // End of File |