diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
commit | 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch) | |
tree | 69537ceb9787bb25ac363cc4e6cdaf0804d78363 /ui/progress_indicator.h | |
parent | 5.12 (diff) | |
download | FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2 FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip |
5.13
Diffstat (limited to 'ui/progress_indicator.h')
-rw-r--r-- | ui/progress_indicator.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ui/progress_indicator.h b/ui/progress_indicator.h index e4995824..d659af6e 100644 --- a/ui/progress_indicator.h +++ b/ui/progress_indicator.h @@ -14,10 +14,10 @@ #include "main_dlg.h" -class CompareStatus +class CompareProgressDialog { public: - CompareStatus(wxTopLevelWindow& parentWindow); //CompareStatus will be owned by parentWindow! + CompareProgressDialog(wxTopLevelWindow& parentWindow); //CompareProgressDialog will be owned by parentWindow! wxWindow* getAsWindow(); //convenience! don't abuse! @@ -28,22 +28,22 @@ public: void updateStatusPanelNow(); private: - class CompareStatusImpl; - CompareStatusImpl* const pimpl; + class Pimpl; + Pimpl* const pimpl; }; -class SyncStatus +class SyncProgressDialog { public: - SyncStatus(zen::AbortCallback& abortCb, - const zen::Statistics& syncStat, - MainDialog* parentWindow, //may be nullptr - bool showProgress, - const wxString& jobName, - const std::wstring& execWhenFinished, - std::vector<std::wstring>& execFinishedHistory); //changing parameter! - ~SyncStatus(); + SyncProgressDialog(zen::AbortCallback& abortCb, + const zen::Statistics& syncStat, + MainDialog* parentWindow, //may be nullptr + bool showProgress, + const wxString& jobName, + const std::wstring& execWhenFinished, + std::vector<std::wstring>& execFinishedHistory); //changing parameter! + ~SyncProgressDialog(); wxWindow* getAsWindow(); //convenience! don't abuse! @@ -70,18 +70,18 @@ public: void closeWindowDirectly(); //don't wait for user private: - class SyncStatusImpl; - SyncStatusImpl* const pimpl; + class Pimpl; + Pimpl* const pimpl; }; class PauseTimers { public: - PauseTimers(SyncStatus& ss) : ss_(ss) { ss_.stopTimer(); } + PauseTimers(SyncProgressDialog& ss) : ss_(ss) { ss_.stopTimer(); } ~PauseTimers() { ss_.resumeTimer(); } private: - SyncStatus& ss_; + SyncProgressDialog& ss_; }; |