usbmgmt/usbmgr/device/classdrivers/acm/classimplementation/ecacm/src/DllMain.cpp
branchRCL_3
changeset 16 012cc2ee6408
parent 15 f92a4f87e424
equal deleted inserted replaced
15:f92a4f87e424 16:012cc2ee6408
     1 /*
     1 /*
     2 * Copyright (c) 1997-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 1997-2009 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 
       
    26 
    21 
    27 extern "C" IMPORT_C CSerial* LibEntryL(void);	
    22 extern "C" IMPORT_C CSerial* LibEntryL(void);	
    28 
    23 
    29 EXPORT_C CSerial* LibEntryL()
    24 EXPORT_C CSerial* LibEntryL()
    30 /**
    25 /**
    31  * Lib main entry point
    26  * Lib main entry point
    32  */
    27  */
    33 	{	
    28 	{	
    34 	OstTraceFunctionEntry0( DLLMAIN_LIBENTRYL_ECACM_ENTRY );
       
    35 	return (CAcmPortFactory::NewL());
    29 	return (CAcmPortFactory::NewL());
    36 	}
    30 	}
    37 
    31 
    38 //
    32 //
    39 // End of file
    33 // End of file