realtimenetprots/sipfw/SIP/NATTraversalController/example_plugin/src/dllentry.cpp
changeset 0 307788aac0a8
child 37 0295359a7673
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 // Copyright (c) 2006-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       : SIP NAT Traversal Controller Example
       
    16 // Version       : 
       
    17 //
       
    18 
       
    19 
       
    20 
       
    21 #include <implementationproxy.h>
       
    22 #include "CNATTraversalControllerExample.h"
       
    23 
       
    24 
       
    25 const TImplementationProxy ImplementationTable [] =
       
    26     {
       
    27 	// Disable PC-Lint warning for "suspicious typecast" caused by 
       
    28 	//Symbian's IMPLEMENTATION_PROXY_ENTRY declaration
       
    29     /*lint -e611 */
       
    30     IMPLEMENTATION_PROXY_ENTRY( 0x0FFFFFFF, 
       
    31                                 CNATTraversalControllerExample::NewL )
       
    32     };
       
    33 
       
    34 // -----------------------------------------------------------------------------
       
    35 // ImplementationGroupProxy
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(TInt& aTableCount)
       
    39     {
       
    40     aTableCount = sizeof(ImplementationTable)/sizeof(TImplementationProxy);
       
    41     return ImplementationTable;
       
    42     }