Index: sources/device/DeviceController.h =================================================================== diff -u -r52bd89b3860281744d9794f0f003c36c4d59a2dc -r3965beb5e2516db06c7a00e11e6270ffee75ca51 --- sources/device/DeviceController.h (.../DeviceController.h) (revision 52bd89b3860281744d9794f0f003c36c4d59a2dc) +++ sources/device/DeviceController.h (.../DeviceController.h) (revision 3965beb5e2516db06c7a00e11e6270ffee75ca51) @@ -217,13 +217,16 @@ QString _macBluetooth = ""; QString _netCloudSync = ""; - bool _hasThread = false; - bool _hasSalt = false; + bool _hasThread = false; + bool _hasSalt = false; + bool _logUpload = true; + //TODO: all of these should use the TimesProcess (instead of QProcess) // to be able to kill the process automatically after the set time out. DEVICE_DEV_DEFINITION_LIST + public slots: bool init(); bool init(QThread &vThread); @@ -256,7 +259,7 @@ void onPOSTCloudSyncData (const QString &vNetAddress); void onLogBackup (const QString &vFileName ); - void onLogUpload (const QString &vFileName ); + void onLogUpload (const QString &vFileName, const quint32 &vAccepted, const quint32 &vRejectReason); protected: void timerEvent(QTimerEvent *) override; @@ -284,6 +287,9 @@ bool logBackup(const QString &vFileName); bool logUpload(const QString &vFileName); + quint8 logTally(const QString &vFilePath, QString &vFileDest); + + signals: /*! * \brief didScreenshot