diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:07 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:20:07 +0200 |
commit | 88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170 (patch) | |
tree | c6c5babb49b90293380106b81ae5c446959ac70f /ui/batch_status_handler.h | |
parent | 5.3 (diff) | |
download | FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.gz FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.tar.bz2 FreeFileSync-88a8b528e20013c0aa3cc6bcd9659b0b5ddd9170.zip |
5.4
Diffstat (limited to 'ui/batch_status_handler.h')
-rw-r--r-- | ui/batch_status_handler.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ui/batch_status_handler.h b/ui/batch_status_handler.h index cc23019e..56e9e781 100644 --- a/ui/batch_status_handler.h +++ b/ui/batch_status_handler.h @@ -12,6 +12,7 @@ #include "../lib/process_xml.h" #include "progress_indicator.h" #include "switch_to_gui.h" +#include "lib/return_codes.h" class LogFile; @@ -23,12 +24,13 @@ class BatchStatusHandler : public zen::StatusHandler { public: BatchStatusHandler(bool showProgress, //defines: -start minimized and -quit immediately when finished - const wxString& jobName, + const std::wstring& jobName, //should not be empty for a batch job! + const std::wstring& timestamp, 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, + zen::FfsReturnCode& returnCode, const std::wstring& execWhenFinished, std::vector<std::wstring>& execFinishedHistory); ~BatchStatusHandler(); @@ -50,7 +52,7 @@ private: bool switchToGuiRequested; xmlAccess::OnError handleError_; zen::ErrorLog errorLog; //list of non-resolved errors and warnings - int& returnValue; + zen::FfsReturnCode& returnCode_; SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler! std::unique_ptr<LogFile> logFile; //optional! |