From b9203ee84953006547f4afd58f405874c87bf0dc Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:02:17 +0200 Subject: 3.1 --- library/statusHandler.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'library/statusHandler.h') diff --git a/library/statusHandler.h b/library/statusHandler.h index d4163d2f..cefb129b 100644 --- a/library/statusHandler.h +++ b/library/statusHandler.h @@ -46,8 +46,8 @@ public: }; //these methods have to be implemented in the derived classes to handle error and status information - virtual void updateStatusText(const Zstring& text) = 0; 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 //this method is triggered repeatedly by requestUiRefresh() and can be used to refresh the ui by dispatching pending events @@ -57,7 +57,6 @@ public: void requestAbortion(); //this does NOT call abortThisProcess immediately, but when appropriate (e.g. async. processes finished) bool abortIsRequested(); - //error handling: virtual ErrorHandler::Response reportError(const wxString& errorMessage) = 0; //recoverable error situation virtual void reportFatalError(const wxString& errorMessage) = 0; //non-recoverable error situation, implement abort! -- cgit