mmappcomponents/harvester/server/src/mpxusbeventhandler.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
equal deleted inserted replaced
55:6c1dfe4da5dd 56:63223d4fd956
   189         iMTPKeyWatcher->GetValue(value);
   189         iMTPKeyWatcher->GetValue(value);
   190         MPX_DEBUG2("CMPXUsbEventHandler::DoHandlePSEvent -- get MTP value %i", value);
   190         MPX_DEBUG2("CMPXUsbEventHandler::DoHandlePSEvent -- get MTP value %i", value);
   191 		
   191 		
   192         if (value == EMtpPSStatusActive)
   192         if (value == EMtpPSStatusActive)
   193             {
   193             {
   194             MPX_DEBUG1("CMPXUsbEventHandler::DoHandlePSEvent - MTP Start");
   194                 MPX_DEBUG1("CMPXUsbEventHandler::DoHandlePSEvent - MTP Start");
   195             iObserver.HandleSystemEventL( EUSBMTPStartEvent, removableDrive );
   195                 iObserver.HandleSystemEventL( EUSBMTPStartEvent, removableDrive );
   196             iState = KUsbPersonalityIdMTP;
   196                 iState = KUsbPersonalityIdMTP;
   197             }
   197             }
   198         else if( value != EMtpPSStatusReadyToSync )
   198         else if( value != EMtpPSStatusReadyToSync )
   199             {
   199             {
   200             MPX_DEBUG1("CMPXUsbEventHandler::DoHandlePSEvent - MTP Not Active");
   200             MPX_DEBUG1("CMPXUsbEventHandler::DoHandlePSEvent - MTP Not Active");
   201             iObserver.HandleSystemEventL( EUSBMTPNotActiveEvent, removableDrive );
   201             iObserver.HandleSystemEventL( EUSBMTPNotActiveEvent, removableDrive );