diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:17:51 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:17:51 +0200 |
commit | 237aedc590b58c0e69d7dfcac92b5f767b7c004a (patch) | |
tree | 83f361a82ba483f2daf83b677e8685cd953812d9 /ui/batch_status_handler.h | |
parent | 4.5 (diff) | |
download | FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.gz FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.bz2 FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.zip |
4.6
Diffstat (limited to 'ui/batch_status_handler.h')
-rw-r--r-- | ui/batch_status_handler.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ui/batch_status_handler.h b/ui/batch_status_handler.h index 998f2bc8..719e44a9 100644 --- a/ui/batch_status_handler.h +++ b/ui/batch_status_handler.h @@ -23,17 +23,20 @@ class BatchAbortProcess {}; class BatchStatusHandler : public StatusHandler { public: - BatchStatusHandler(bool runSilent, //defines: -start minimized and -quit immediately when finished + BatchStatusHandler(bool showProgress, //defines: -start minimized and -quit immediately when finished const wxString& jobName, const wxString& logfileDirectory, size_t logFileCountMax, //0 if logging shall be inactive const xmlAccess::OnError handleError, const zen::SwitchToGui& switchBatchToGui, //functionality to change from batch mode to GUI mode - int& returnVal); + int& returnVal, + const std::wstring& execWhenFinished, + std::vector<std::wstring>& execFinishedHistory); ~BatchStatusHandler(); - virtual void initNewProcess(int objectsTotal, zen::Int64 dataTotal, Process processID); - virtual void updateProcessedData(int objectsProcessed, zen::Int64 dataProcessed); + virtual void initNewProcess (int objectsTotal, zen::Int64 dataTotal, Process processID); + virtual void updateProcessedData(int objectsDelta, zen::Int64 dataDelta); + virtual void updateTotalData (int objectsDelta, zen::Int64 dataDelta); virtual void reportStatus(const std::wstring& text); virtual void reportInfo(const std::wstring& text); virtual void forceUiRefresh(); @@ -46,7 +49,7 @@ private: virtual void abortThisProcess(); const zen::SwitchToGui& switchBatchToGui_; //functionality to change from batch mode to GUI mode - bool exitWhenFinished; + bool showFinalResults; bool switchToGuiRequested; xmlAccess::OnError handleError_; zen::ErrorLogging errorLog; //list of non-resolved errors and warnings |