diff options
Diffstat (limited to 'ui/gui_status_handler.h')
-rw-r--r-- | ui/gui_status_handler.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h index ebc59473..0bda9923 100644 --- a/ui/gui_status_handler.h +++ b/ui/gui_status_handler.h @@ -9,6 +9,7 @@ #include <wx/event.h> #include <zen/error_log.h> +#include <wx/stopwatch.h> #include "progress_indicator.h" #include "../lib/status_handler.h" #include "../lib/process_xml.h" @@ -49,7 +50,7 @@ class SyncStatusHandler : public zen::StatusHandler public: SyncStatusHandler(MainDialog* parentDlg, xmlAccess::OnGuiError handleError, - const wxString& jobName, + const std::wstring& jobName, const std::wstring& execWhenFinished, std::vector<std::wstring>& execFinishedHistory); ~SyncStatusHandler(); @@ -70,6 +71,8 @@ private: SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler! xmlAccess::OnGuiError handleError_; zen::ErrorLog errorLog; + const std::wstring jobName_; + wxStopWatch totalTime; }; |