summaryrefslogtreecommitdiff
path: root/ui/gui_status_handler.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:17:51 +0200
commit237aedc590b58c0e69d7dfcac92b5f767b7c004a (patch)
tree83f361a82ba483f2daf83b677e8685cd953812d9 /ui/gui_status_handler.h
parent4.5 (diff)
downloadFreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.gz
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.tar.bz2
FreeFileSync-237aedc590b58c0e69d7dfcac92b5f767b7c004a.zip
4.6
Diffstat (limited to 'ui/gui_status_handler.h')
-rw-r--r--ui/gui_status_handler.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h
index 997e511f..2e76d40b 100644
--- a/ui/gui_status_handler.h
+++ b/ui/gui_status_handler.h
@@ -27,8 +27,9 @@ public:
CompareStatusHandler(MainDialog& dlg);
~CompareStatusHandler();
- 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();
@@ -51,11 +52,16 @@ private:
class SyncStatusHandler : public StatusHandler
{
public:
- SyncStatusHandler(MainDialog* parentDlg, xmlAccess::OnGuiError handleError, const wxString& jobName);
+ SyncStatusHandler(MainDialog* parentDlg,
+ xmlAccess::OnGuiError handleError,
+ const wxString& jobName,
+ const std::wstring& execWhenFinished,
+ std::vector<std::wstring>& execFinishedHistory);
~SyncStatusHandler();
- 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();
bgstack15