summaryrefslogtreecommitdiff
path: root/ui/gui_status_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gui_status_handler.h')
-rw-r--r--ui/gui_status_handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h
index f504270b..c0e75a8d 100644
--- a/ui/gui_status_handler.h
+++ b/ui/gui_status_handler.h
@@ -48,7 +48,7 @@ private:
class SyncStatusHandler : public StatusHandler
{
public:
- SyncStatusHandler(wxTopLevelWindow* parentDlg, bool ignoreAllErrors, const wxString& jobName);
+ SyncStatusHandler(MainDialog* parentDlg, bool ignoreAllErrors, const wxString& jobName);
~SyncStatusHandler();
virtual void initNewProcess(int objectsTotal, wxLongLong dataTotal, Process processID);
@@ -59,11 +59,11 @@ public:
virtual ErrorHandler::Response reportError(const wxString& text);
virtual void reportFatalError(const wxString& errorMessage);
virtual void reportWarning(const wxString& warningMessage, bool& warningActive);
- void logInfo(const wxString& infoMessage);
private:
virtual void abortThisProcess();
+ MainDialog* mainDialog; //optional
SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler!
bool ignoreErrors;
ffs3::ErrorLogging errorLog;
bgstack15