authenticationservices/authenticationserver/test/tAuthSvr/tpostmarketplugins/proxy.cpp
changeset 29 ece3df019add
equal deleted inserted replaced
19:cd501b96611d 29:ece3df019add
       
     1 /*
       
     2 * Copyright (c) 2008-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 the License "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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include <e32std.h>
       
    21 #include <ecom/implementationproxy.h>	// ECOM header file
       
    22 
       
    23 #include "tpostmarketramplugin.h"			// Class definition for one of the dummy implementations
       
    24 
       
    25 
       
    26 // Map the interface UIDs to implementation factory functions
       
    27 const TImplementationProxy ImplementationTable[] = 
       
    28 	{
       
    29 	IMPLEMENTATION_PROXY_ENTRY(0x10234100,	CTPostMarketRAMPlugin10234100::NewL),
       
    30 	};
       
    31 
       
    32 // Exported proxy function to resolve intstantiation methods for an ECOM plugin dll
       
    33 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    34 	{
       
    35 	aTableCount = sizeof(ImplementationTable) / sizeof(TImplementationProxy);
       
    36 	return ImplementationTable;
       
    37 	}