From 905e69b74fe6e822e0d00245e2c210e9aadb6437 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 01:45:32 +0100 Subject: make it possible for interface classes to define a get_options() method to add an options group to the help menu --- interface.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'interface.h') 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 { -- cgit v1.2.3