realtimenetprots/sipfw/SIP/SIPSec/IpSecPlugin/src/dllentry.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2004-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 // Name        : dllentry.cpp
       
    15 // Part of     : SipSec IpSec
       
    16 // implementation
       
    17 // Version     : SIP/4.0
       
    18 //
       
    19 
       
    20 
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <ecom/implementationproxy.h>
       
    24 
       
    25 #include "CSipSecIpsecMechanism.h"
       
    26 
       
    27 // Disabled PC-Lint warning for "suspicious typecast" caused by Symbian's
       
    28 // ECom declarations
       
    29 /*lint -e611 */
       
    30 
       
    31 // 8.x ECOM compatibility - EABI requires the use of IMPLEMENTATION_PROXY_ENTRY
       
    32 // (i.e. define IMPLEMENTATION_PROXY_ENTRY locally on pre 8.x systems)
       
    33 #ifndef IMPLEMENTATION_PROXY_ENTRY
       
    34 #define IMPLEMENTATION_PROXY_ENTRY( aUid, aFuncPtr ) { { aUid }, aFuncPtr }
       
    35 #endif
       
    36 
       
    37 const TImplementationProxy ImplementationTable [] =
       
    38     {
       
    39 	//Implementation UID and pointer to instantiation method
       
    40     IMPLEMENTATION_PROXY_ENTRY( 0x1020334E, CSipSecIpsecMechanism::NewL )
       
    41     };
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // ImplementationGroupProxy
       
    45 // -----------------------------------------------------------------------------
       
    46 //
       
    47 EXPORT_C const TImplementationProxy* ImplementationGroupProxy (TInt& aTableCount)
       
    48     {
       
    49     aTableCount = sizeof(ImplementationTable)/sizeof(TImplementationProxy);
       
    50     return ImplementationTable;
       
    51     }
       
    52     
       
    53 // End of File