atext/plugins/legacymodemplugin/src/proxy.cpp
branchRCL_3
changeset 12 9b6d3ca0c601
equal deleted inserted replaced
11:20fda83a6398 12:9b6d3ca0c601
       
     1 /*
       
     2 * Copyright (c) 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:  Export ECom interface implementations
       
    15 *
       
    16 */
       
    17 
       
    18 #include <e32base.h>
       
    19 #include <ecom/implementationproxy.h>
       
    20 #include "legacymodemplugin.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(0x2002B341, CLegacyModemPlugin::NewL),  // DUN
       
    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(TInt& aTableCount)
       
    38 	{
       
    39 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    40 
       
    41 	return ImplementationTable;
       
    42 	}