diff -r 718eb10f3711 -r 0ffee699d6c7 usbengines/usbotgwatcher/src/cusbwarningnotifier.cpp --- a/usbengines/usbotgwatcher/src/cusbwarningnotifier.cpp Fri Apr 23 23:42:54 2010 +0300 +++ b/usbengines/usbotgwatcher/src/cusbwarningnotifier.cpp Fri Apr 23 23:57:55 2010 +0300 @@ -1,20 +1,19 @@ /* -* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: Usb warning notifier implementation + * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". * -*/ - + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: Usb warning notifier implementation + * + */ #include #include @@ -34,9 +33,11 @@ // ----------------------------------------------------------------------------- // CUsbWarningNotifier* CUsbWarningNotifier::NewL(RNotifier& aNotifier, - CUsbNotifManager* aNotifManager, TUint aNotifId) + CUsbNotifManager& aNotifManager, TUint aNotifId) { - FTRACE( FPrint(_L( "[USBOTGWATCHER]\tCUsbWarningNotifier::NewL aNotifId = %d" ), aNotifId)); + LOG_FUNC + + LOG1( "aNotifId = %d" , aNotifId); CUsbWarningNotifier* self = new (ELeave) CUsbWarningNotifier(aNotifier, aNotifManager, aNotifId); @@ -52,7 +53,7 @@ // CUsbWarningNotifier::~CUsbWarningNotifier() { - FLOG( _L( "[USBOTGWATCHER]\tCUsbWarningNotifier::~CUsbWarningNotifier" ) ); + LOG_FUNC } // --------------------------------------------------------------------------- @@ -60,11 +61,10 @@ // --------------------------------------------------------------------------- // CUsbWarningNotifier::CUsbWarningNotifier(RNotifier& aNotifier, - CUsbNotifManager* aNotifManager, TUint aNotifId) : + CUsbNotifManager& aNotifManager, TUint aNotifId) : CUsbNoteNotifier(aNotifier, aNotifManager, KUsbUiNotifOtgWarning, aNotifId) { - FLOG( _L( "[USBOTGWATCHER]\tCUsbWarningNotifier::CUsbWarningNotifier" ) ); } // ----------------------------------------------------------------------------- @@ -73,7 +73,7 @@ // void CUsbWarningNotifier::ConstructL() { - FLOG( _L( "[USBOTGWATCHER]\tCUsbWarningNotifier::ConstructL" ) ); + LOG_FUNC CUsbNoteNotifier::ConstructL(); }