From 62cdffbb4d3e93d6785f3054f7fa81b7cc8b6de7 Mon Sep 17 00:00:00 2001 From: nirav Date: Sun, 21 Oct 2018 18:24:26 +0530 Subject: Added command line option parsing, info bar is now visible by default --- src/option.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/option.h (limited to 'src/option.h') diff --git a/src/option.h b/src/option.h new file mode 100644 index 0000000..33b8335 --- /dev/null +++ b/src/option.h @@ -0,0 +1,14 @@ +#ifndef __OPTION_H +#define __OPTION_H + +#include + +struct option { + char *file_name; + bool fullscreen; + bool show_info; +}; +extern const struct option *options; +void parse_options(int argc, char **argv); + +#endif -- cgit v1.2.3