]> git.sesse.net Git - nageru/blob - flags.h
Support other streams than the default file.
[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         bool slow_down_input = false;
9 };
10 extern Flags global_flags;
11
12 void usage();
13 void parse_flags(int argc, char * const argv[]);
14
15 #endif  // !defined(_FLAGS_H)