summaryrefslogtreecommitdiff
path: root/gui/gui.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 20:47:06 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 20:49:29 -0300
commit8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4 (patch)
tree757749cdbd459d5460f893f6cf6116790845cb3b /gui/gui.h
parentc9a05d88435e5cc47492b4b62f8312ad8011fd2c (diff)
downloadeeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.gz
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.tar.bz2
eeshow-8dfb6b2c9f722d70b30e5794fe20ce9450dd05d4.zip
eeshow/: change file name handling from positional to be extension-driven
This also enables versioning for page layouts. We no longer need the option -P.
Diffstat (limited to 'gui/gui.h')
-rw-r--r--gui/gui.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gui/gui.h b/gui/gui.h
index f0307cb..bd80284 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -15,12 +15,9 @@
#include <stdbool.h>
-/*
- * Note: this isn't (argc, argv) ! args stars right with the first file name
- * and there is no NULL at the end.
- */
+#include "kicad/ext.h"
+
-int gui(unsigned n_args, char **args, bool recurse, int limit,
- struct pl_ctx *pl);
+int gui(const struct file_names *fn, bool recurse, int limit);
#endif /* !GUI_GUI_H */