photosgallery/contentharvesterplugin/src/glxcontentharvesterpluginproxy.cpp
changeset 0 4e91876724a2
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:  A Proxy file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 
       
    23 #include <ecom/implementationproxy.h>
       
    24 
       
    25 #include "glxcontentharvesterplugin.h"
       
    26 #include "glxcontentharvesterplugin.hrh"
       
    27 
       
    28 
       
    29 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
       
    30     typedef TAny* TProxyNewLPtr;
       
    31 #define IMPLEMENTATION_PROXY_ENTRY( aUid, aFuncPtr ) 
       
    32              { { aUid },( TProxyNewLPtr )( aFuncPtr ) }
       
    33 #endif
       
    34 
       
    35 // ----------------------------------------------------------------------------
       
    36 // Map the interface UIDs to the implementation 
       
    37 // ----------------------------------------------------------------------------
       
    38 //
       
    39 const TImplementationProxy ImplementationTable[] =
       
    40     {
       
    41     IMPLEMENTATION_PROXY_ENTRY( KGlxCHPluginImplUid, CGlxContentHarvesterPlugin::NewL)
       
    42     };
       
    43 
       
    44 // ----------------------------------------------------------------------------
       
    45 // ImplementationGroupProxy
       
    46 // Exported proxy for instantiation method resolution
       
    47 // ----------------------------------------------------------------------------
       
    48 //
       
    49 EXPORT_C const TImplementationProxy*
       
    50 ImplementationGroupProxy(TInt& aTableCount)
       
    51     {
       
    52     
       
    53     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    54     
       
    55     return ImplementationTable;
       
    56     }
       
    57 
       
    58 //  End of File