summaryrefslogtreecommitdiff
path: root/src/buildtool/progress_reporting/progress_reporter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/progress_reporting/progress_reporter.hpp')
-rw-r--r--src/buildtool/progress_reporting/progress_reporter.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/buildtool/progress_reporting/progress_reporter.hpp b/src/buildtool/progress_reporting/progress_reporter.hpp
index 5323578f..1c4206de 100644
--- a/src/buildtool/progress_reporting/progress_reporter.hpp
+++ b/src/buildtool/progress_reporting/progress_reporter.hpp
@@ -15,11 +15,17 @@
#ifndef INCLUDED_SRC_BUILDTOOL_PROGRESS_REPORTING_PROGRESS_REPORTER_HPP
#define INCLUDED_SRC_BUILDTOOL_PROGRESS_REPORTING_PROGRESS_REPORTER_HPP
+#include "gsl/gsl"
+#include "src/buildtool/common/statistics.hpp"
#include "src/buildtool/progress_reporting/base_progress_reporter.hpp"
+#include "src/buildtool/progress_reporting/progress.hpp"
class ProgressReporter {
public:
- [[nodiscard]] static auto Reporter() noexcept -> progress_reporter_t;
+ [[nodiscard]] static auto Reporter(
+ gsl::not_null<Statistics*> const& stats,
+ gsl::not_null<Progress*> const& progress) noexcept
+ -> progress_reporter_t;
};
#endif // INCLUDED_SRC_BUILDTOOL_PROGRESS_REPORTING_PROGRESS_REPORTER_HPP