diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:53 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:05:53 +0200 |
commit | 618dfb51d93898632830f1b87443d3f748780871 (patch) | |
tree | bac520a2e261154f8d35b0cb8aa345f5ab373811 /ui/progressIndicator.h | |
parent | 3.4 (diff) | |
download | FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.gz FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.tar.bz2 FreeFileSync-618dfb51d93898632830f1b87443d3f748780871.zip |
3.5
Diffstat (limited to 'ui/progressIndicator.h')
-rw-r--r-- | ui/progressIndicator.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ui/progressIndicator.h b/ui/progressIndicator.h index 78044653..b6964fe6 100644 --- a/ui/progressIndicator.h +++ b/ui/progressIndicator.h @@ -8,22 +8,20 @@ #define PROGRESSINDICATOR_H_INCLUDED #include "../shared/zstring.h" -#include <wx/window.h> - -class CompareStatusImpl; -class SyncStatusImpl; -class StatusHandler; +#include <wx/toplevel.h> +#include "../library/statusHandler.h" class CompareStatus { public: - CompareStatus(wxWindow& parentWindow); //CompareStatus will be owned by parentWindow! + CompareStatus(wxTopLevelWindow& parentWindow); //CompareStatus will be owned by parentWindow! ~CompareStatus(); wxWindow* getAsWindow(); //convenience! don't abuse! - void init(); //initialize all status values + void init(); //make visible, initialize all status values + void finalize(); //hide again void switchToCompareBytewise(int totalObjectsToProcess, wxLongLong totalDataToProcess); void incScannedObjects_NoUpdate(int number); @@ -32,6 +30,7 @@ public: void updateStatusPanelNow(); private: + class CompareStatusImpl; CompareStatusImpl* const pimpl; }; @@ -40,7 +39,7 @@ class SyncStatus { public: SyncStatus(StatusHandler& updater, - wxWindow* parentWindow, //may be NULL + wxTopLevelWindow* parentWindow, //may be NULL bool startSilent); ~SyncStatus(); @@ -58,6 +57,7 @@ public: }; void resetGauge(int totalObjectsToProcess, wxLongLong totalDataToProcess); + void incScannedObjects_NoUpdate(int number); void incProgressIndicator_NoUpdate(int objectsProcessed, wxLongLong dataProcessed); void setStatusText_NoUpdate(const Zstring& text); void updateStatusDialogNow(); @@ -70,6 +70,7 @@ public: void closeWindowDirectly(); //don't wait for user private: + class SyncStatusImpl; SyncStatusImpl* const pimpl; }; |