summaryrefslogtreecommitdiff
path: root/library/status_handler.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
commitc32707148292d104c66276b43796d6057c8c7a5d (patch)
treebb83513f4aff24153e21a4ec92e34e4c27651b1f /library/status_handler.h
parent3.9 (diff)
downloadFreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.gz
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.bz2
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.zip
3.10
Diffstat (limited to 'library/status_handler.h')
-rw-r--r--library/status_handler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/status_handler.h b/library/status_handler.h
index a1226c54..c15a80ba 100644
--- a/library/status_handler.h
+++ b/library/status_handler.h
@@ -8,8 +8,7 @@
#define STATUSHANDLER_H_INCLUDED
#include <wx/longlong.h>
-
-class Zstring;
+#include "../shared/zstring.h"
const int UI_UPDATE_INTERVAL = 100; //perform ui updates not more often than necessary, 100 seems to be a good value with only a minimal performance loss
@@ -53,9 +52,10 @@ public:
//these methods have to be implemented in the derived classes to handle error and status information
virtual void initNewProcess(int objectsTotal, wxLongLong dataTotal, Process processID) = 0; //informs about the total amount of data that will be processed from now on
- virtual void updateStatusText(const Zstring& text) = 0;
virtual void updateProcessedData(int objectsProcessed, wxLongLong dataProcessed) = 0; //called periodically after data was processed
+ virtual void reportInfo(const Zstring& text) = 0;
+
//this method is triggered repeatedly by requestUiRefresh() and can be used to refresh the ui by dispatching pending events
virtual void forceUiRefresh() = 0;
bgstack15