diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:28:01 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:28:01 +0200 |
commit | fe9eb89ebc1b3c33cbac00a3fa095a14faef9113 (patch) | |
tree | 8a3bb620a9acb83fe0057061a86e8f2cb91a9fe1 /ui/gui_status_handler.h | |
parent | 5.21 (diff) | |
download | FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.gz FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.tar.bz2 FreeFileSync-fe9eb89ebc1b3c33cbac00a3fa095a14faef9113.zip |
5.22
Diffstat (limited to 'ui/gui_status_handler.h')
-rw-r--r-- | ui/gui_status_handler.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h index 30efe3fb..fbbf827f 100644 --- a/ui/gui_status_handler.h +++ b/ui/gui_status_handler.h @@ -31,7 +31,7 @@ public: virtual void initNewPhase(int objectsTotal, zen::Int64 dataTotal, Phase phaseID); virtual void forceUiRefresh(); - virtual Response reportError(const std::wstring& text); + virtual Response reportError(const std::wstring& text, size_t retryNumber); virtual void reportFatalError(const std::wstring& errorMessage); virtual void reportWarning(const std::wstring& warningMessage, bool& warningActive); @@ -52,6 +52,8 @@ public: SyncStatusHandler(wxFrame* parentDlg, size_t lastSyncsLogFileSizeMax, xmlAccess::OnGuiError handleError, + size_t automaticRetryCount, + size_t automaticRetryDelay, const std::wstring& jobName, const std::wstring& execWhenFinished, std::vector<std::wstring>& execFinishedHistory); @@ -62,7 +64,7 @@ public: virtual void reportInfo(const std::wstring& text); virtual void forceUiRefresh(); - virtual Response reportError(const std::wstring& text); + virtual Response reportError(const std::wstring& text, size_t retryNumber); virtual void reportFatalError(const std::wstring& errorMessage); virtual void reportWarning(const std::wstring& warningMessage, bool& warningActive); @@ -74,6 +76,8 @@ private: const size_t lastSyncsLogFileSizeMax_; xmlAccess::OnGuiError handleError_; zen::ErrorLog errorLog; + const size_t automaticRetryCount_; + const size_t automaticRetryDelay_; const std::wstring jobName_; wxStopWatch totalTime; }; |