aboutsummaryrefslogtreecommitdiff
path: root/src/libmain/progress-bar.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-17 03:39:39 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-17 03:39:39 +0000
commit49308ef0397a3da04ae1822188b1fedc70a33243 (patch)
tree96bb06a039bcf472b1f3796bcb4b534df3f732ad /src/libmain/progress-bar.hh
parent74b251b2f3d6414de051c8523011c0ee3c5ea154 (diff)
parent29542865cee37ab22efe1bd142900b69f6c59f0d (diff)
Merge remote-tracking branch 'upstream/master' into ca-drv
Diffstat (limited to 'src/libmain/progress-bar.hh')
-rw-r--r--src/libmain/progress-bar.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/libmain/progress-bar.hh b/src/libmain/progress-bar.hh
new file mode 100644
index 000000000..7f0dafecf
--- /dev/null
+++ b/src/libmain/progress-bar.hh
@@ -0,0 +1,13 @@
+#pragma once
+
+#include "logging.hh"
+
+namespace nix {
+
+Logger * makeProgressBar(bool printBuildLogs = false);
+
+void startProgressBar(bool printBuildLogs = false);
+
+void stopProgressBar();
+
+}