usbmgmt/usbmgr/device/classdrivers/acm/classimplementation/ecacm/src/DllMain.cpp
branchRCL_3
changeset 15 f92a4f87e424
parent 0 c9bc50fca66e
child 16 012cc2ee6408
equal deleted inserted replaced
14:d3e8e7d462dd 15:f92a4f87e424
     1 /*
     1 /*
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    16 */
    16 */
    17 
    17 
    18 #include <e32std.h>
    18 #include <e32std.h>
    19 #include <cs_port.h>
    19 #include <cs_port.h>
    20 #include "AcmPortFactory.h"
    20 #include "AcmPortFactory.h"
       
    21 #include "OstTraceDefinitions.h"
       
    22 #ifdef OST_TRACE_COMPILER_IN_USE
       
    23 #include "DllMainTraces.h"
       
    24 #endif
       
    25 
    21 
    26 
    22 extern "C" IMPORT_C CSerial* LibEntryL(void);	
    27 extern "C" IMPORT_C CSerial* LibEntryL(void);	
    23 
    28 
    24 EXPORT_C CSerial* LibEntryL()
    29 EXPORT_C CSerial* LibEntryL()
    25 /**
    30 /**
    26  * Lib main entry point
    31  * Lib main entry point
    27  */
    32  */
    28 	{	
    33 	{	
       
    34 	OstTraceFunctionEntry0( DLLMAIN_LIBENTRYL_ECACM_ENTRY );
    29 	return (CAcmPortFactory::NewL());
    35 	return (CAcmPortFactory::NewL());
    30 	}
    36 	}
    31 
    37 
    32 //
    38 //
    33 // End of file
    39 // End of file