]> git.sesse.net Git - nageru/blob - flags.h
Allow symlinked frame files. Useful for testing.
[nageru] / flags.h
1 #ifndef _FLAGS_H
2 #define _FLAGS_H
3
4 #include <string>
5
6 #include "defs.h"
7
8 struct Flags {
9         std::string stream_source;
10         std::string working_directory = ".";
11         bool slow_down_input = false;
12         int interpolation_quality = 2;
13         uint16_t http_port = DEFAULT_HTTPD_PORT;
14 };
15 extern Flags global_flags;
16
17 void usage();
18 void parse_flags(int argc, char * const argv[]);
19
20 #endif  // !defined(_FLAGS_H)