Logo Search packages:      
Sourcecode: qlix version File versions  Download package

bool MtpDevice::removeObject ( count_t  in_id  )  [private]

Generic function to remove an object from the device

Parameters:
in_id the id of the object to be removed

Definition at line 1085 of file MtpDevice.cpp.

References processErrorStack().

Referenced by RemoveAlbum(), RemoveFolder(), and RemoveTrack().

{
#ifndef SIMULATE_TRANSFERS
  bool ret = LIBMTP_Delete_Object(_device, in_id); 
  if (ret != 0)
  {
    processErrorStack();
    return false;
  }
#endif
  return true;
}


Generated by  Doxygen 1.6.0   Back to index