diff -r 1e05558e2206 -r 705ec7b86991 usbengines/usbotgwatcher/inc/cusbnotifmanager.h --- a/usbengines/usbotgwatcher/inc/cusbnotifmanager.h Thu Dec 17 09:14:30 2009 +0200 +++ b/usbengines/usbotgwatcher/inc/cusbnotifmanager.h Thu Jan 07 13:25:34 2010 +0200 @@ -24,6 +24,7 @@ // forward declaration class CUsbNotifier; class CUsbIndicatorNotifier; +class CUsbOtgWatcher; // pause warning is visible for (ms) const TUint KPauseForWarnings = 1000000; // 1 sec @@ -116,8 +117,9 @@ /** * 2phase construction + * @param aOtgWatcher OtgWatcher is a parent class */ - static CUsbNotifManager* NewL(); + static CUsbNotifManager* NewL(CUsbOtgWatcher* aOtgWatcher); /** * Destructor @@ -134,18 +136,6 @@ MWaitNotifierObserver* aObserver = NULL); /** - * Changes USB indicator to blink or not - * @param aBlinking ETrue if want to make it blinking, EFalse otherwise - */ - void BlinkIndicatorL(TBool aBlinking); - - /** - * Shows or hides usb indicator - * @param aVisible ETRue is show, EFalse id hide - */ - void ShowIndicatorL(TBool aVisible); - - /** * Closes and deletes all the notifiers */ void CloseAllNotifiers(); @@ -163,13 +153,14 @@ /** * Default construction + * @param aOtgWatcher otg watcher (parent class) */ CUsbNotifManager(); /** * Second phase construction */ - void ConstructL(); + void ConstructL(CUsbOtgWatcher* aOtgWatcher); private: // data @@ -186,7 +177,7 @@ /** * Own - * Notifier for showing or blinking Usb indicator + * USB indicator */ CUsbIndicatorNotifier* iIndicatorNotifier; };