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