atcommands/lccustomplugin/src/proxy.cpp
branchRCL_3
changeset 13 b6f55cd40afd
equal deleted inserted replaced
11:a42ed326b458 13:b6f55cd40afd
       
     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 
       
    19 #ifndef REFERENCE_ATEXT_H
       
    20 #define REFERENCE_ATEXT_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ecom/implementationproxy.h>
       
    24 #include "lccustomplugin.h"
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // An array of TImplementationProxy objects which onnect each
       
    28 // implemeation with its instantiation function
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 const TImplementationProxy ImplementationTable[] =
       
    32 	{
       
    33 	IMPLEMENTATION_PROXY_ENTRY(0x20021375, CLcCustomPlugin::NewL),  // DUN
       
    34 	IMPLEMENTATION_PROXY_ENTRY(0x20021376, CLcCustomPlugin::NewL)   // HFP
       
    35 	};
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // Exported proxy function to resolve instantiation methods for an Ecom
       
    39 // plug-in DLL
       
    40 // ---------------------------------------------------------------------------
       
    41 //
       
    42 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    43 	{
       
    44 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    45 
       
    46 	return ImplementationTable;
       
    47 	}
       
    48 
       
    49 #endif