usbengines/usblocodplugin/src/proxy.cpp
changeset 0 1e05558e2206
equal deleted inserted replaced
-1:000000000000 0:1e05558e2206
       
     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:  Export ECom interface implementations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <implementationproxy.h> //ECom header file
       
    20 #include <bldvariant.hrh>
       
    21 #include "usblcdplugin.h"
       
    22 
       
    23 // ---------------------------------------------------------------------------
       
    24 // An array of TImplementationProxy objects which connect each 
       
    25 // implemeation with its instantiation function
       
    26 // ---------------------------------------------------------------------------
       
    27 //
       
    28 const TImplementationProxy ImplementationTable[] = 
       
    29     {
       
    30     IMPLEMENTATION_PROXY_ENTRY(KFeatureIdUsb, CUsbLcdPlugin::NewL)
       
    31     };
       
    32 
       
    33 // ---------------------------------------------------------------------------
       
    34 // Exported proxy function to resolve instantiation methods for an Ecom plug-in DLL
       
    35 // ---------------------------------------------------------------------------
       
    36 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt & aTableCount)
       
    37     {
       
    38     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    39     return ImplementationTable; 
       
    40     }
       
    41