X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=action.h;h=9b3c9276a105ab8366324c63839ffde92d34d70f;hb=7b9821d42d980e5788bbc65563973eddd6e4c40d;hp=60206a391c76119853c3beaf9fbde219f2f284c8;hpb=eb5481635b31a8517a2f443ca7b414e4ff515028;p=popboot.git diff --git a/action.h b/action.h index 60206a3..9b3c927 100644 --- a/action.h +++ b/action.h @@ -1,13 +1,19 @@ #ifndef __ACTION_H__ #define __ACTION_H__ -typedef literals std::vector; +#include +#include + +typedef std::vector literals; class Action { public: Action(std::string executable, literals preconditions, literals effects); - const literals effects() const; - const literals preconditions() const; + Action(const Action& action); + Action(){}; + const literals& effects() const; + const literals& preconditions() const; + const std::string& executable() const; int execute() const; protected: