mpx/tsrc/public/basic/common/testplugins/testcollectionplugin/src/testcollectionpluginproxy.cpp
changeset 62 b276843a15ba
equal deleted inserted replaced
58:c76ea6caa649 62:b276843a15ba
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 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 #include <ecom/implementationproxy.h>
       
    19 #include "testcollectionplugin.h"
       
    20 #include "testcommonpluginuids.h"
       
    21 
       
    22 #if (!defined IMPLEMENTATION_PROXY_ENTRY)
       
    23 typedef TAny* TProxyNewLPtr;
       
    24 #define IMPLEMENTATION_PROXY_ENTRY(aUid,aFuncPtr) {{aUid},(TProxyNewLPtr)(aFuncPtr)}
       
    25 #endif
       
    26 
       
    27 // ----------------------------------------------------------------------------
       
    28 // The list of implementations
       
    29 // ----------------------------------------------------------------------------
       
    30 //
       
    31 const TImplementationProxy ImplementationTable[] = 
       
    32     { IMPLEMENTATION_PROXY_ENTRY(KCollectionTestPluginImpId, 
       
    33                                  CTestCollectionPlugin::NewL) };
       
    34 
       
    35 // ----------------------------------------------------------------------------
       
    36 // The proxy of implementations
       
    37 // ----------------------------------------------------------------------------
       
    38 //
       
    39 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    40     {
       
    41     aTableCount=sizeof(ImplementationTable)/sizeof(TImplementationProxy);
       
    42     return ImplementationTable;
       
    43     }
       
    44 
       
    45 // End of File