projects
/
vrfileman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better option/cfgfile parsing
[vrfileman]
/
src
/
opt.h
diff --git a/src/opt.h
b/src/opt.h
new file mode 100644
(file)
index 0000000..
c0bb5f6
--- /dev/null
+++ b/
src/opt.h
@@ -0,0
+1,14
@@
+#ifndef OPT_H_
+#define OPT_H_
+
+struct Options {
+ bool vr;
+ bool srgb;
+ bool fullscreen;
+};
+
+extern Options opt;
+
+bool init_options(int argc, char **argv, const char *cfgfile);
+
+#endif // OPT_H_