aboutsummaryrefslogtreecommitdiff
path: root/src/option.h
diff options
context:
space:
mode:
authornirav <nirav@teisuu.com>2018-10-21 18:24:26 +0530
committerDandelion <nirav@teisuu.com>2018-10-21 18:24:26 +0530
commit62cdffbb4d3e93d6785f3054f7fa81b7cc8b6de7 (patch)
tree821e20b2f978890f7b9e6d6a99209a85669a842e /src/option.h
parentf8f3159f9b98b024043bd8de2c5e15dd2adf03ca (diff)
downloadim-62cdffbb4d3e93d6785f3054f7fa81b7cc8b6de7.tar.gz
im-62cdffbb4d3e93d6785f3054f7fa81b7cc8b6de7.zip
Added command line option parsing, info bar is now visible by default
Diffstat (limited to 'src/option.h')
-rw-r--r--src/option.h14
1 files changed, 14 insertions, 0 deletions
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 <stdbool.h>
+
+struct option {
+ char *file_name;
+ bool fullscreen;
+ bool show_info;
+};
+extern const struct option *options;
+void parse_options(int argc, char **argv);
+
+#endif