localconnectivityservice/dun/client/src/proxy.cpp
branchRCL_3
changeset 39 4096754ee773
parent 38 3dcb815346df
child 40 52a167391590
equal deleted inserted replaced
38:3dcb815346df 39:4096754ee773
     1 /*
       
     2 * Copyright (c) 2006-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:  Export ECom interface implementations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <implementationproxy.h> //ECom header file
       
    20 #include "dunplugin.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // An array of TImplementationProxy objects which onnect each 
       
    24 // implemeation with its instantiation function
       
    25 // ---------------------------------------------------------------------------
       
    26 //
       
    27 const TImplementationProxy ImplementationTable[] = 
       
    28     {
       
    29     IMPLEMENTATION_PROXY_ENTRY( KFeatureIdDialupNetworking, CDunPlugin::NewL )
       
    30     };
       
    31     
       
    32 // ---------------------------------------------------------------------------
       
    33 // Exported proxy function to resolve instantiation methods for an Ecom
       
    34 // plug-in DLL
       
    35 // ---------------------------------------------------------------------------
       
    36 //
       
    37 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    38     TInt & aTableCount )
       
    39     {
       
    40     aTableCount = sizeof( ImplementationTable ) /
       
    41                   sizeof( TImplementationProxy );
       
    42     return ImplementationTable; 
       
    43     }