]> git.sesse.net Git - nageru/blob - flags.h
Make it possible to override stream mux on the command line.
[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         int num_cards = 2;
10         std::string va_display;
11         bool uncompressed_video_to_http = false;
12         std::string theme_filename = "theme.lua";
13         bool flat_audio = false;
14         bool flush_pbos = true;
15         std::string stream_mux_name = DEFAULT_STREAM_MUX_NAME;
16 };
17 extern Flags global_flags;
18
19 void parse_flags(int argc, char * const argv[]);
20
21 #endif  // !defined(_FLAGS_H)