]> ruin.nu Git - popboot.git/blob - action.h
some changes
[popboot.git] / action.h
1 #ifndef __ACTION_H__
2 #define __ACTION_H__
3
4 typedef literals std::vector<string>;
5
6 class Action {
7         public:
8                 Action(std::string executable, literals preconditions, literals effects);
9                 const literals effects() const;
10                 const literals preconditions() const;
11                 int execute() const;
12
13         protected:
14                 std::string _executable;
15                 literals _preconditions;
16                 literals _effects;
17 };
18
19 #endif