X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=action.h;h=35119c35c7d245615e10ab6c857d0e02702d089e;hb=b177aeec472c3941b39b874a83883ff87a41919c;hp=60206a391c76119853c3beaf9fbde219f2f284c8;hpb=eb5481635b31a8517a2f443ca7b414e4ff515028;p=popboot.git diff --git a/action.h b/action.h index 60206a3..35119c3 100644 --- a/action.h +++ b/action.h @@ -1,13 +1,18 @@ #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(){}; + literals effects() const; + literals preconditions() const; int execute() const; protected: