cmmanager/cmmgr/Plugins/cmplugintundriver/src/cmpluginproxytundriver.cpp
branchRCL_3
changeset 62 bb1f80fb7db2
equal deleted inserted replaced
58:83ca720e2b9a 62:bb1f80fb7db2
       
     1 /*
       
     2 * Copyright (c) 2010 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:  TUN Driver plug-in IF implementation class.
       
    15 *
       
    16 */
       
    17 
       
    18 #include "cmplugintundriver.h"
       
    19 #include <e32std.h>
       
    20 #include <ecom/implementationproxy.h>
       
    21 
       
    22 // Exported proxy for instantiation method resolution
       
    23 // Define the interface UIDs
       
    24 const TImplementationProxy ImplementationTable[] = 
       
    25     {
       
    26     IMPLEMENTATION_PROXY_ENTRY( KPluginTUNDriverBearerTypeUid, CCmPluginTUNDriver::NewL)
       
    27     };
       
    28 
       
    29 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    30 /**
       
    31 * ImplementationGroupProxy
       
    32 * This is function is invoked by E-Com Plugin framework for TUNDriver plugin UID when needs to be loaded.
       
    33 * @param 
       
    34 * @return 
       
    35 */
       
    36     {
       
    37     aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    38 
       
    39     return ImplementationTable;
       
    40     }