realtimenetprots/sipfw/SampleApp/resolverplugin/Src/SIPExResolverPluginDll.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 #include <e32std.h>
       
    19 #include <implementationproxy.h>
       
    20 #include "SIPExResolverPlugin.h"
       
    21 
       
    22 // Map the interface UID to implementation factory function
       
    23 const TImplementationProxy Implementations[] =
       
    24     {
       
    25     IMPLEMENTATION_PROXY_ENTRY( KSIPExResolverPluginUID,
       
    26 		                        CSIPExResolverPlugin::NewL )
       
    27     };
       
    28 
       
    29 // -----------------------------------------------------------------------------
       
    30 // ImplementationGroupProxy
       
    31 //
       
    32 // Exported proxy for instantiation method resolution
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 EXPORT_C const TImplementationProxy* ImplementationGroupProxy( TInt& aCount )
       
    36 	{
       
    37 	aCount = sizeof( Implementations ) / sizeof( TImplementationProxy );
       
    38 	return Implementations;
       
    39 	}
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // E32Dll (Removed in EKA2) 
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 #ifndef EKA2
       
    46 GLDEF_C TInt E32Dll(TDllReason)
       
    47 	{
       
    48 	return(KErrNone);
       
    49 	}
       
    50 #endif
       
    51