equal
deleted
inserted
replaced
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". |
22 @file |
22 @file |
23 */ |
23 */ |
24 |
24 |
25 #include <cusbclasscontrollerplugin.h> |
25 #include <cusbclasscontrollerplugin.h> |
26 #include <ecom/ecom.h> |
26 #include <ecom/ecom.h> |
27 #include "OstTraceDefinitions.h" |
27 #include <usb/usblogger.h> |
28 #ifdef OST_TRACE_COMPILER_IN_USE |
28 |
29 #include "CUsbClassControllerPlugInTraces.h" |
29 #ifdef __FLOG_ACTIVE |
|
30 _LIT8(KLogComponent, "USBSVR"); |
30 #endif |
31 #endif |
31 |
|
32 |
32 |
33 /** |
33 /** |
34 * Constructor. |
34 * Constructor. |
35 * |
35 * |
36 */ |
36 */ |
48 */ |
48 */ |
49 |
49 |
50 EXPORT_C CUsbClassControllerPlugIn* CUsbClassControllerPlugIn::NewL(TUid aImplementationId, |
50 EXPORT_C CUsbClassControllerPlugIn* CUsbClassControllerPlugIn::NewL(TUid aImplementationId, |
51 MUsbClassControllerNotify& aOwner) |
51 MUsbClassControllerNotify& aOwner) |
52 { |
52 { |
53 OstTraceFunctionEntry0( CUSBCLASSCONTROLLERPLUGIN_NEWL_ENTRY ); |
53 LOG_STATIC_FUNC_ENTRY |
54 |
54 |
55 return (reinterpret_cast<CUsbClassControllerPlugIn*>(REComSession::CreateImplementationL |
55 return (reinterpret_cast<CUsbClassControllerPlugIn*>(REComSession::CreateImplementationL |
56 (aImplementationId, _FOFF(CUsbClassControllerPlugIn, iPrivateEComUID), |
56 (aImplementationId, _FOFF(CUsbClassControllerPlugIn, iPrivateEComUID), |
57 (TAny*) &aOwner))); |
57 (TAny*) &aOwner))); |
58 } |
58 } |