photosgallery/viewframework/plugins/fullscreenviewplugin/src/glxfullscreenviewpluginproxy.cpp
changeset 0 4e91876724a2
child 35 420f6808bf21
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     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 "glxdownloadsfullscreenviewplugin.h"
       
    29 #include "glxmonthsfullscreenviewplugin.h"
       
    30 #include "glxtagfullscreenviewplugin.h"
       
    31 #include "glximageviewerfullscreenviewplugin.h"
       
    32 
       
    33 #if ( !defined IMPLEMENTATION_PROXY_ENTRY )
       
    34 typedef TAny* TProxyNewLPtr;
       
    35 #define IMPLEMENTATION_PROXY_ENTRY( aUid,aFuncPtr ) { { aUid }, ( TProxyNewLPtr )( aFuncPtr ) }
       
    36 #endif
       
    37 
       
    38 
       
    39 // ======== MEMBER FUNCTIONS ========
       
    40 
       
    41 // ---------------------------------------------------------------------------
       
    42 // The list of implementations
       
    43 // ---------------------------------------------------------------------------
       
    44 //
       
    45 const TImplementationProxy ImplementationTable[] = 
       
    46     { 
       
    47     IMPLEMENTATION_PROXY_ENTRY( 
       
    48         KGlxMainFullScreenViewImplementationId, 
       
    49         CGlxMainFullScreenViewPlugin::NewL ),
       
    50 
       
    51     IMPLEMENTATION_PROXY_ENTRY( 
       
    52         KGlxAlbumFullScreenViewImplementationId, 
       
    53         CGlxAlbumFullScreenViewPlugin::NewL ),
       
    54         
       
    55     IMPLEMENTATION_PROXY_ENTRY( 
       
    56         KGlxCameraAlbumFullScreenViewImplementationId, 
       
    57         CGlxCameraAlbumFullScreenViewPlugin::NewL ),
       
    58          
       
    59     IMPLEMENTATION_PROXY_ENTRY( 
       
    60         KGlxDownloadsFullScreenViewImplementationId, 
       
    61         CGlxDownloadsFullScreenViewPlugin::NewL ), 
       
    62         
       
    63     IMPLEMENTATION_PROXY_ENTRY( 
       
    64         KGlxMonthsFullScreenViewImplementationId, 
       
    65         CGlxMonthsFullScreenViewPlugin::NewL ), 
       
    66         
       
    67     IMPLEMENTATION_PROXY_ENTRY( 
       
    68         KGlxTagFullScreenViewPluginImplementationUid, 
       
    69         CGlxTagFullScreenViewPlugin::NewL ),
       
    70     
       
    71     IMPLEMENTATION_PROXY_ENTRY( 
       
    72         KGlxImageViewerFullScreenViewImplementationId, 
       
    73         CGlxImageViewerScreenViewPlugin::NewL ), 
       
    74     };
       
    75 
       
    76 // ---------------------------------------------------------------------------
       
    77 // The proxy of implementations
       
    78 // ---------------------------------------------------------------------------
       
    79 //
       
    80 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    81     TInt& aTableCount )
       
    82     {
       
    83     aTableCount = 
       
    84         sizeof( ImplementationTable ) / sizeof( TImplementationProxy );
       
    85     return ImplementationTable;
       
    86     }
       
    87 
       
    88 // End of File