summaryrefslogtreecommitdiff
path: root/gui/gui.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-29 14:28:40 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-29 14:28:40 -0300
commit52484fb3b9caff8b8137cb0ecc92db090207c792 (patch)
tree478fa58165c96a84640a8eb3d7308fb418ea4a7e /gui/gui.h
parent8ce33e6a9a3ae71ee5837403193cd12ef47ebe0e (diff)
downloadeeshow-52484fb3b9caff8b8137cb0ecc92db090207c792.tar.gz
eeshow-52484fb3b9caff8b8137cb0ecc92db090207c792.tar.bz2
eeshow-52484fb3b9caff8b8137cb0ecc92db090207c792.zip
new option "-E command" to execute commands when the GUI is ready
This is mainly intended for taking screenshots, e.g., with xdotool and xwd.
Diffstat (limited to 'gui/gui.h')
-rw-r--r--gui/gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/gui.h b/gui/gui.h
index 2d71490..d3f0fab 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -18,6 +18,7 @@
#include "kicad/ext.h"
-int run_gui(const struct file_names *fn, bool recurse, int limit);
+int run_gui(const struct file_names *fn, bool recurse, int limit,
+ const char **commands, unsigned n_commands);
#endif /* !GUI_GUI_H */