diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-08-13 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:56 +0300 |
commit | 173c07e166fdf6fcd20f18ea73008f1b628945df (patch) | |
tree | 13ebea85cdc4c16ae93714ff0627ee9f91ad7e08 /CPP/7zip/UI/FileManager/ProgressDialog2.h | |
parent | 3901bf0ab88106a5b031cba7bc18d60cdebf7eef (diff) |
4.59 beta
Diffstat (limited to 'CPP/7zip/UI/FileManager/ProgressDialog2.h')
-rwxr-xr-x | CPP/7zip/UI/FileManager/ProgressDialog2.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/CPP/7zip/UI/FileManager/ProgressDialog2.h b/CPP/7zip/UI/FileManager/ProgressDialog2.h index 9acaf9de..e838ae25 100755 --- a/CPP/7zip/UI/FileManager/ProgressDialog2.h +++ b/CPP/7zip/UI/FileManager/ProgressDialog2.h @@ -25,11 +25,11 @@ class CProgressSynch UString TitleFileName; UString CurrentFileName; public: - CProgressSynch(): - _stopped(false), _paused(false), - _total((UInt64)(Int64)-1), + CProgressSynch(): + _stopped(false), _paused(false), + _total((UInt64)(Int64)-1), _completed(0), - _totalFiles((UInt64)(Int64)-1), + _totalFiles((UInt64)(Int64)-1), _completedFiles(0), _inSize((UInt64)(Int64)-1), _outSize((UInt64)(Int64)-1) @@ -84,9 +84,10 @@ public: NWindows::NSynchronization::CCriticalSectionLock lock(_criticalSection); _completedFiles = value; } + HRESULT ProcessStopAndPause(); HRESULT SetPosAndCheckPaused(UInt64 completed); - void GetProgress(UInt64 &total, UInt64 &completed, - UInt64 &totalFiles, UInt64 &completedFiles, + void GetProgress(UInt64 &total, UInt64 &completed, + UInt64 &totalFiles, UInt64 &completedFiles, UInt64 &inSize, UInt64 &outSize) { NWindows::NSynchronization::CCriticalSectionLock lock(_criticalSection); @@ -211,9 +212,9 @@ public: INT_PTR Create(const UString &title, HWND wndParent = 0) - { + { _title = title; - return CModalDialog::Create(IDD_DIALOG_PROGRESS, wndParent); + return CModalDialog::Create(IDD_DIALOG_PROGRESS, wndParent); } static const UINT kCloseMessage; |