]> git.sesse.net Git - nageru/blob - flags.h
Make it possible to change the working directory.
[nageru] / flags.h
1 #ifndef _FLAGS_H
2 #define _FLAGS_H
3
4 #include <string>
5
6 struct Flags {
7         std::string stream_source;
8         std::string working_directory = ".";
9         bool slow_down_input = false;
10         int interpolation_quality = 2;
11 };
12 extern Flags global_flags;
13
14 void usage();
15 void parse_flags(int argc, char * const argv[]);
16
17 #endif  // !defined(_FLAGS_H)