]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/Arguments.h
added dump option
[l2e.git] / src / app / Arguments.h
index c7e37eee1419209d95cb2db9453982376de71c09..9bd35a93ad540c5a13c9ef95601ea6ed70969199 100644 (file)
@@ -18,9 +18,18 @@ public:
        Arguments();
        ~Arguments() { }
 
+public:
+       enum RunLevel {
+               COMPILE,
+               DUMP,
+               PLAY,
+       };
+
 public:
        void Read(int argc, char **argv);
 
+       RunLevel DetectRunLevel() const;
+
        const std::vector<char *> &Infiles() const { return infiles; }
 
        bool OutfileSet() const { return outfile; }
@@ -29,6 +38,7 @@ public:
 private:
        std::vector<char *> infiles;
        const char *outfile;
+       bool dump;
 
 };