aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:45:32 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:45:32 +0100
commit905e69b74fe6e822e0d00245e2c210e9aadb6437 (patch)
treea41c2e3c248c81306ac5ab2b2d583e2b5efeb341 /interface.h
parent8c264612fd7056e1d47dedc2a245e4deb83cc552 (diff)
downloadsciteco-905e69b74fe6e822e0d00245e2c210e9aadb6437.tar.gz
make it possible for interface classes to define a get_options() method to add an options group to the help menu
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface.h b/interface.h
index a67fbfa..cf261fb 100644
--- a/interface.h
+++ b/interface.h
@@ -15,6 +15,11 @@
*/
class Interface {
public:
+ virtual GOptionGroup *
+ get_options(void)
+ {
+ return NULL;
+ }
virtual void parse_args(int &argc, char **&argv) {}
enum MessageType {