3 This file is part of builder
4 Copyright © 2006-2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
12 #include <sigc++/sigc++.h>
17 Actions are executed to rebuild targets.
22 /// Emitted when the action has finished
23 sigc::signal<void> signal_done;
26 Checks whether the action is done and emits signal_done if it is.
28 @return 0 on successful completion, 1 on error, -1 if the action is still
31 virtual int check()=0;
37 Action(Builder &b): builder(b) { }
38 void announce(const std::string &, const std::string &, const std::string &);