diff options
Diffstat (limited to 'ui/progress_indicator.h')
-rw-r--r-- | ui/progress_indicator.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ui/progress_indicator.h b/ui/progress_indicator.h index 34e2c1a5..528ec562 100644 --- a/ui/progress_indicator.h +++ b/ui/progress_indicator.h @@ -44,14 +44,6 @@ private: class SyncStatus { public: - SyncStatus(AbortCallback& abortCb, - MainDialog* parentWindow, //may be NULL - bool startSilent, - const wxString& jobName); - ~SyncStatus(); - - wxWindow* getAsWindow(); //convenience! don't abuse! - enum SyncStatusID { ABORTED, @@ -63,6 +55,15 @@ public: SYNCHRONIZING }; + SyncStatus(AbortCallback& abortCb, + MainDialog* parentWindow, //may be NULL + SyncStatusID startStatus, + bool startSilent, + const wxString& jobName); + ~SyncStatus(); + + wxWindow* getAsWindow(); //convenience! don't abuse! + void resetGauge(int totalObjectsToProcess, zen::Int64 totalDataToProcess); void incScannedObjects_NoUpdate(int number); void incProgressIndicator_NoUpdate(int objectsProcessed, zen::Int64 dataProcessed); |