aboutsummaryrefslogtreecommitdiff
path: root/CPP/7zip/UI/Console/PercentPrinter.h
diff options
context:
space:
mode:
authorIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-06-19 00:00:00 +0000
committerIgor Pavlov <87184205+ip7z@users.noreply.github.com>2024-06-19 15:32:41 +0500
commita7a1d4a241492e81f659a920f7379c193593ebc6 (patch)
tree2ff203d3b43b3f6d18abaac21923f729fdb93e43 /CPP/7zip/UI/Console/PercentPrinter.h
parent89a73b901229c8550c172c9556ff8442ae7ac4b8 (diff)
download7zip-24.07.tar.gz
7zip-24.07.tar.bz2
7zip-24.07.zip
24.0724.07
Diffstat (limited to '')
-rw-r--r--CPP/7zip/UI/Console/PercentPrinter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Console/PercentPrinter.h b/CPP/7zip/UI/Console/PercentPrinter.h
index 4debb3b..46988a5 100644
--- a/CPP/7zip/UI/Console/PercentPrinter.h
+++ b/CPP/7zip/UI/Console/PercentPrinter.h
@@ -43,12 +43,14 @@ class CPercentPrinter: public CPercentPrinterState
43public: 43public:
44 CStdOutStream *_so; 44 CStdOutStream *_so;
45 45
46 bool DisablePrint;
46 bool NeedFlush; 47 bool NeedFlush;
47 unsigned MaxLen; 48 unsigned MaxLen;
48 49
49 CPercentPrinter(UInt32 tickStep = 200): 50 CPercentPrinter(UInt32 tickStep = 200):
50 _tickStep(tickStep), 51 _tickStep(tickStep),
51 _prevTick(0), 52 _prevTick(0),
53 DisablePrint(false),
52 NeedFlush(true), 54 NeedFlush(true),
53 MaxLen(80 - 1) 55 MaxLen(80 - 1)
54 {} 56 {}