multimediacommsengine/tsrc/MMCTestDriver/MCETester/VoIPPlugin/src/VoIPPluginImplementationProxy.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2002-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:    VoIPPluginImplementationProxy implementation
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <e32base.h>
       
    21 #include "VoIPPlugin.h"
       
    22 #include <e32svr.h>
       
    23 
       
    24 // MACROS
       
    25 #define SSC_VOIPPLUGIN_DEBUG_PRINT1( a )   RDebug::Print( a )
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 // Exported proxy for instantiation method resolution
       
    30 // Use the interface implementation UID and Implementation factory method
       
    31 // as a pair for ECom instantiation.
       
    32 const TImplementationProxy Implementations[] = 
       
    33 	{
       
    34 	IMPLEMENTATION_PROXY_ENTRY(	0x10202870,	CVoIPPlugin::NewL )
       
    35 	};
       
    36 
       
    37 
       
    38 // ========================== OTHER EXPORTED FUNCTIONS =========================
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 // ImplementationGroupProxy
       
    42 // Function to return the implementation proxy table 
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aTableCount )
       
    46     {
       
    47     SSC_VOIPPLUGIN_DEBUG_PRINT1( _L("VoIPPlugin ImplementationGroupProxy"));
       
    48     aTableCount = sizeof( Implementations ) / sizeof( TImplementationProxy );
       
    49 
       
    50     return Implementations;
       
    51     }
       
    52 
       
    53 // -----------------------------------------------------------------------------
       
    54 // E32Dll
       
    55 // DLL entry point
       
    56 // -----------------------------------------------------------------------------
       
    57 //
       
    58 #ifndef EKA2
       
    59 GLDEF_C TInt E32Dll ( TDllReason /*aReason*/ )
       
    60     {
       
    61     return ( KErrNone );
       
    62     }
       
    63 #endif