telephonyprotocols/rawipnif/version1/src/DllMain.cpp
changeset 68 d0d9cc530d21
parent 62 8ef833fbf5aa
child 75 f45cd1ad4667
equal deleted inserted replaced
62:8ef833fbf5aa 68:d0d9cc530d21
     1 // Copyright (c) 2002-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 // Defines the global functions which provide DLL entry points.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #include "RawIPNifMainFactory.h"
       
    23 
       
    24 
       
    25 extern "C"
       
    26     {
       
    27     IMPORT_C CNifFactory* NewInterfaceFactoryL();	// Force export
       
    28     }
       
    29 
       
    30 EXPORT_C CNifFactory* NewInterfaceFactoryL()
       
    31 /**
       
    32  * Creates a new RAW IP NIF main factory. This must be the first exported function
       
    33  * in the NIF's DLL.
       
    34  *
       
    35  * @return A newly created RAW IP NIF main factory
       
    36  */
       
    37 	{
       
    38 	return new (ELeave) CRawIPNifMainFactory;
       
    39 	}