]> ruin.nu Git - popboot.git/blobdiff - action.h
it compiles
[popboot.git] / action.h
index 60206a391c76119853c3beaf9fbde219f2f284c8..35119c35c7d245615e10ab6c857d0e02702d089e 100644 (file)
--- a/action.h
+++ b/action.h
@@ -1,13 +1,18 @@
 #ifndef __ACTION_H__
 #define __ACTION_H__
 
-typedef literals std::vector<string>;
+#include <vector>
+#include <string>
+
+typedef std::vector<std::string> 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: