aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/progress-bar.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmain/progress-bar.hh')
-rw-r--r--src/libmain/progress-bar.hh13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/libmain/progress-bar.hh b/src/libmain/progress-bar.hh
index e682d75fe..ad500de6e 100644
--- a/src/libmain/progress-bar.hh
+++ b/src/libmain/progress-bar.hh
@@ -48,9 +48,8 @@ struct ProgressBar : public Logger
uint64_t corruptedPaths = 0, untrustedPaths = 0;
- bool active = true;
- bool paused = false;
- bool haveUpdate = true;
+ uint32_t paused = 1;
+ bool haveUpdate = false;
};
Sync<State> state_;
@@ -67,10 +66,10 @@ struct ProgressBar : public Logger
~ProgressBar();
- void stop() override final;
-
void pause() override;
+ void resetProgress() override;
+
void resume() override;
bool isVerbose() override;
@@ -113,8 +112,4 @@ struct ProgressBar : public Logger
Logger * makeProgressBar();
-void startProgressBar();
-
-void stopProgressBar();
-
}