15 #ifndef NINJA_STATUS_H_
16 #define NINJA_STATUS_H_
34 const std::string& output) = 0;
43 virtual void Info(
const char* msg, ...) = 0;
44 virtual void Warning(
const char* msg, ...) = 0;
45 virtual void Error(
const char* msg, ...) = 0;
Options (e.g. verbosity, parallelism) passed to a build.
An edge in the dependency graph; links between Nodes using Rules.
A class used to record a list of explanation strings associated with a given 'item' pointer.
Abstract interface to object that tracks the status of a build: completion fraction,...
virtual void BuildEdgeStarted(const Edge *edge, int64_t start_time_millis)=0
virtual void BuildStarted()=0
virtual void EdgeRemovedFromPlan(const Edge *edge)=0
virtual void SetExplanations(Explanations *)=0
Set the Explanations instance to use to report explanations, argument can be nullptr if no explanatio...
static Status * factory(const BuildConfig &)
creates the actual implementation
virtual void Warning(const char *msg,...)=0
virtual void BuildEdgeFinished(Edge *edge, int64_t start_time_millis, int64_t end_time_millis, ExitStatus exit_code, const std::string &output)=0
virtual void EdgeAddedToPlan(const Edge *edge)=0
virtual void Error(const char *msg,...)=0
virtual void Info(const char *msg,...)=0
virtual void BuildFinished()=0
signed long long int64_t
A 64-bit integer type.