diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-04-09 03:54:28 (GMT) |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-04-09 04:11:27 (GMT) |
commit | 10d1c939ae788bfb410eb37c7e71da2be07797f9 (patch) | |
tree | 8b7b282f65e2dd017c9dddc834897b0f33d3622c /src/build.h | |
parent | 94f999b681ea4ced1cc27b29e0db77d72554ecf9 (diff) | |
download | Ninja-10d1c939ae788bfb410eb37c7e71da2be07797f9.zip Ninja-10d1c939ae788bfb410eb37c7e71da2be07797f9.tar.gz Ninja-10d1c939ae788bfb410eb37c7e71da2be07797f9.tar.bz2 |
move single-line printing to new class
Diffstat (limited to 'src/build.h')
-rw-r--r-- | src/build.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/build.h b/src/build.h index 5747170..52c277a 100644 --- a/src/build.h +++ b/src/build.h @@ -25,6 +25,7 @@ #include "graph.h" // XXX needed for DependencyScan; should rearrange. #include "exit_status.h" +#include "line_printer.h" #include "metrics.h" #include "util.h" // int64_t @@ -198,14 +199,12 @@ struct BuildStatus { int started_edges_, finished_edges_, total_edges_; - bool have_blank_line_; - /// Map of running edge to time the edge started running. typedef map<Edge*, int> RunningEdgeMap; RunningEdgeMap running_edges_; - /// Whether we can do fancy terminal control codes. - bool smart_terminal_; + /// Prints progress output. + LinePrinter printer_; /// The custom progress status format to use. const char* progress_status_format_; |