multimediacommsengine/tsrc/MMCTestDriver/MCETester/ttcnresolverplugin/src/DllMain.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2004 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:    Implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #include <e32std.h>
       
    21 #include <e32svr.h>
       
    22 #include <e32base.h>
       
    23 #include <ecom/ImplementationProxy.h>
       
    24 #include "CTTCNResolverPlugin1.h"
       
    25 
       
    26 // Map the interface UIDs to implementation factory functions
       
    27 const TImplementationProxy Implementations[] =
       
    28     {
       
    29     IMPLEMENTATION_PROXY_ENTRY( KTTCNResolverPluginUID1,
       
    30 		                        CTTCNResolverPlugin1::NewL )
       
    31     };
       
    32 
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // ImplementationGroupProxy
       
    36 //
       
    37 // Exported proxy for instantiation method resolution
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aCount )
       
    41 	{
       
    42 	aCount = sizeof( Implementations ) / sizeof( TImplementationProxy );
       
    43 	return Implementations;
       
    44 	}
       
    45 
       
    46 // -----------------------------------------------------------------------------
       
    47 // E32Dll (Removed in EKA2) 
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 #ifndef EKA2
       
    51 GLDEF_C TInt E32Dll(TDllReason)
       
    52 	{
       
    53 	return(KErrNone);
       
    54 	}
       
    55 #endif
       
    56