Index: sources/device/DeviceController.h =================================================================== diff -u -ra7c8f14c6d5420ea15cdbd8fc6e3c46bae1052cb -r8566686e033eaa3025180a735ce6f485e4fcaad4 --- sources/device/DeviceController.h (.../DeviceController.h) (revision a7c8f14c6d5420ea15cdbd8fc6e3c46bae1052cb) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision 8566686e033eaa3025180a735ce6f485e4fcaad4) @@ -186,6 +186,9 @@ void findPendingLogs(); + bool logBackup(const QString &vFileName); + bool logUpload(const QString &vFileName); + signals: /*! * \brief didScreenshot @@ -305,6 +308,23 @@ */ void didPendingLog (const QString &vFileName, const QString vChecksum ); + /*! + * \brief logBackup + * \details notification of the log back up complete (either case of pass or fail) + * \param vFileName - file name to backup + * \param vPass - false if the backup failed. + * \return void + */ + void didLogBackup ( bool vPass, const QString &vFileName ); + + /*! + * \brief didLogUpload + * \details notification of pending log upload file rename complete (rename and remove the 'u.' (pending sub-ext)) + * \param vPass - true if the pending log file name rename was successful. + * \param vFileName - the pending log file name (meaning it includes 'u.' ) + */ + void didLogUpload ( bool vPass, const QString &vFileName ); + private: // ----- USB void usbCheck ();