usbengines/usbotgwatcher/src/cusbnotenotifier.cpp
branchRCL_3
changeset 16 d895b6d953c9
parent 7 ff9df6630274
equal deleted inserted replaced
10:f6533aee8b2b 16:d895b6d953c9
   128     {
   128     {
   129     LOG_FUNC
   129     LOG_FUNC
   130 
   130 
   131     LOG1( "iStatus = %d" , iStatus.Int());
   131     LOG1( "iStatus = %d" , iStatus.Int());
   132 
   132 
   133     // if error occured, deal with it in RunError
   133     // if iStatus contains some other than KErrNone code
   134     LEAVEIFERROR(iStatus.Int());
   134     // do not perform any special actions, 
       
   135     // just forward the error code to caller
   135 
   136 
   136     iNotifier.CancelNotifier(iUsbNoteNotifier.iCat);
   137     iNotifier.CancelNotifier(iUsbNoteNotifier.iCat);
   137 
   138 
   138     // report to owner that show is over
   139     // report to owner that show is over
   139     iUsbNoteNotifier.iNotifManager.NotifierShowCompletedL(iUsbNoteNotifier,
   140     iUsbNoteNotifier.iNotifManager.NotifierShowCompletedL(iUsbNoteNotifier,
   140             KErrNone, iRes());
   141             iStatus.Int(), iRes());
   141     }
   142     }
   142 
   143 
   143 // ---------------------------------------------------------------------------
   144 // ---------------------------------------------------------------------------
   144 // From base class CActive
   145 // From base class CActive
   145 // ---------------------------------------------------------------------------
   146 // ---------------------------------------------------------------------------
   157     {
   158     {
   158     LOG_FUNC
   159     LOG_FUNC
   159 
   160 
   160     LOG1("aError = %d" , aError);
   161     LOG1("aError = %d" , aError);
   161 
   162 
   162     iNotifier.CancelNotifier(iUsbNoteNotifier.iCat);
       
   163 
       
   164     // try to continue  
   163     // try to continue  
   165     return KErrNone;
   164     return KErrNone;
   166     }
   165     }
   167 
   166 
   168 // End of file
   167 // End of file