X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Faction.h;fp=source%2Faction.h;h=60d14506853387445b0922bd9eeb560af1c040dd;hb=59ac0a44d6edf179c01604c6ced744873213f855;hp=0000000000000000000000000000000000000000;hpb=4dc31cca056ea293d320928f61fef0558089d32d;p=builder.git diff --git a/source/action.h b/source/action.h new file mode 100644 index 0000000..60d1450 --- /dev/null +++ b/source/action.h @@ -0,0 +1,23 @@ +#ifndef ACTION_H_ +#define ACTION_H_ + +#include +#include + +class Builder; + +class Action +{ +public: + sigc::signal signal_done; + + virtual int check()=0; + virtual ~Action() { } +protected: + Builder &builder; + + Action(Builder &b): builder(b) { } + void announce(const std::string &, const std::string &, const std::string &); +}; + +#endif