atext/plugins/limitedpdpplugin/src/proxy.cpp
branchRCL_3
changeset 22 786b94c6f0a4
equal deleted inserted replaced
21:14e240312f6f 22:786b94c6f0a4
       
     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 LIMITEDPDPPLUGIN_H
       
    20 #define LIMITEDPDPPLUGIN_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ecom/implementationproxy.h>
       
    24 #include "limitedpdpplugin.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(0x20031618, CLimitedPdpPlugin::NewL),  // DUN
       
    34 	};
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // Exported proxy function to resolve instantiation methods for an Ecom
       
    38 // plug-in DLL
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    42 	{
       
    43 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    44 
       
    45 	return ImplementationTable;
       
    46 	}
       
    47 
       
    48 #endif  // LIMITEDPDPPLUGIN_H