5 #include <sigc++/sigc++.h>
10 Actions are executed to rebuild targets.
15 /// Emitted when the action has finished
16 sigc::signal<void> signal_done;
21 Action(Builder &b): builder(b) { }
26 Checks whether the action is done and emits signal_done if it is. Returns 0
27 if the action has completed successfully, 1 if an error was encountered and
28 -1 if it is still executing.
30 virtual int check() = 0;
34 Annouces the action by printing out the package name, tool and target name.
36 void announce(const std::string &, const std::string &, const std::string &);