photosgallery/collectionframework/plugins/glxcollectionpluginimageviewer/src/glxcollectionpluginimageviewerproxy.cpp
changeset 0 4e91876724a2
equal deleted inserted replaced
-1:000000000000 0:4e91876724a2
       
     1 /*
       
     2 * Copyright (c) 2006 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 #include <ecom/implementationproxy.h>
       
    22 #include "glxcollectionpluginimageviewer.h"
       
    23 #include <glxcollectionpluginimageviewer.hrh>
       
    24 
       
    25 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
       
    26 typedef TAny* TProxyNewLPtr;
       
    27 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) 
       
    28                                         {{aUid},(TProxyNewLPtr)(aFuncPtr)}
       
    29 #endif
       
    30 
       
    31 // ----------------------------------------------------------------------------
       
    32 // The list of implementations
       
    33 // ----------------------------------------------------------------------------
       
    34 //
       
    35 const TImplementationProxy ImplementationTable[] = 
       
    36     { IMPLEMENTATION_PROXY_ENTRY(KGlxCollectionPluginImageViewerImplementationUid, CGlxCollectionPluginImageViewer::NewL) };
       
    37 
       
    38 // ----------------------------------------------------------------------------
       
    39 // The proxy of implementations
       
    40 // ----------------------------------------------------------------------------
       
    41 //
       
    42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    43     TInt& aTableCount)
       
    44     {
       
    45     aTableCount=sizeof(ImplementationTable)/sizeof(TImplementationProxy);
       
    46     return ImplementationTable;
       
    47     }
       
    48 
       
    49 
       
    50 // End of File