mtpdataproviders/mtpimagedp/src/cmtpimagedpdeleteobject.cpp
branchRCL_3
changeset 6 f8e15b44d440
parent 0 d0791faffa3f
child 11 4843bb5893b6
equal deleted inserted replaced
0:d0791faffa3f 6:f8e15b44d440
   259 
   259 
   260 void CMTPImageDpDeleteObject::StartL()
   260 void CMTPImageDpDeleteObject::StartL()
   261     {
   261     {
   262     __FLOG(_L8(">> CMTPImageDpDeleteObject::StartL"));
   262     __FLOG(_L8(">> CMTPImageDpDeleteObject::StartL"));
   263     
   263     
       
   264     if(iCancelled)
       
   265         {
       
   266         __FLOG(_L8("Cancell the delete"));
       
   267         CMTPRequestProcessor::SendResponseL(EMTPRespCodeTransactionCancelled);
       
   268         iObjectsToDelete.Reset();
       
   269         iCancelled = EFalse;
       
   270         return;
       
   271         }
       
   272     
   264     TInt numObjectsToDelete = iObjectsToDelete.Count();
   273     TInt numObjectsToDelete = iObjectsToDelete.Count();
   265 
   274 
   266     if ( numObjectsToDelete > 0 )
   275     if ( numObjectsToDelete > 0 )
   267         {
   276         {
   268         //Set the active object going to delete the file
   277         //Set the active object going to delete the file