]> git.localhorst.tv Git - l2e.git/blob - src/app/Arguments.h
removed some leftover lines from linker branch
[l2e.git] / src / app / Arguments.h
1 /*
2  * Arguments.h
3  *
4  *  Created on: Sep 15, 2012
5  *      Author: holy
6  */
7
8 #ifndef APP_ARGUMENTS_H_
9 #define APP_ARGUMENTS_H_
10
11 #include <vector>
12
13 namespace app {
14
15 class Arguments {
16
17 public:
18         Arguments();
19         ~Arguments() { }
20
21 public:
22         enum RunLevel {
23                 DUMP,
24                 PLAY,
25                 WRITE,
26         };
27
28 public:
29         void Read(int argc, char **argv);
30
31         RunLevel DetectRunLevel() const;
32
33         const std::vector<char *> &Infiles() const { return infiles; }
34
35         bool OutfileSet() const { return outfile; }
36         const char *OutfilePath() const { return outfile; }
37
38 private:
39         std::vector<char *> infiles;
40         const char *outfile;
41         bool dump;
42
43 };
44
45 }
46
47 #endif /* APP_ARGUMENTS_H_ */