From 8db5a44398dbee8efbf8707ea1cf7c9e9348ebcb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 12 Oct 2008 07:18:39 +0000 Subject: Add --jack-name command line option (implement feature request #176). Move queued engine interface and events into separate library (so core engine library doesn't require them). Remove some cruft. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1654 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/cmdline.h | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) (limited to 'src/ingen/cmdline.h') diff --git a/src/ingen/cmdline.h b/src/ingen/cmdline.h index 80358089..ee916423 100644 --- a/src/ingen/cmdline.h +++ b/src/ingen/cmdline.h @@ -1,6 +1,6 @@ /** @file cmdline.h * @brief The header file for the command line option parser - * generated by GNU Gengetopt + * generated by GNU Gengetopt version 2.22.1 * http://www.gnu.org/software/gengetopt. * DO NOT modify this file, since it can be overwritten * @author GNU Gengetopt by Lorenzo Bettini */ @@ -34,44 +34,50 @@ struct gengetopt_args_info { const char *help_help; /**< @brief Print help and exit help description. */ const char *version_help; /**< @brief Print version and exit help description. */ + int client_port_arg; /**< @brief Client OSC port. */ + char * client_port_orig; /**< @brief Client OSC port original value given at command line. */ + const char *client_port_help; /**< @brief Client OSC port help description. */ + char * connect_arg; /**< @brief Connect to existing engine at OSC URI (default='osc.udp://localhost:16180'). */ + char * connect_orig; /**< @brief Connect to existing engine at OSC URI original value given at command line. */ + const char *connect_help; /**< @brief Connect to existing engine at OSC URI help description. */ int engine_flag; /**< @brief Run (JACK) engine (default=off). */ const char *engine_help; /**< @brief Run (JACK) engine help description. */ int engine_port_arg; /**< @brief Engine OSC port (default='16180'). */ char * engine_port_orig; /**< @brief Engine OSC port original value given at command line. */ const char *engine_port_help; /**< @brief Engine OSC port help description. */ - char * connect_arg; /**< @brief Connect to existing engine at OSC URI (default='osc.udp://localhost:16180'). */ - char * connect_orig; /**< @brief Connect to existing engine at OSC URI original value given at command line. */ - const char *connect_help; /**< @brief Connect to existing engine at OSC URI help description. */ int gui_flag; /**< @brief Launch the GTK graphical interface (default=off). */ const char *gui_help; /**< @brief Launch the GTK graphical interface help description. */ - int client_port_arg; /**< @brief Client OSC port. */ - char * client_port_orig; /**< @brief Client OSC port original value given at command line. */ - const char *client_port_help; /**< @brief Client OSC port help description. */ + char * jack_name_arg; /**< @brief JACK client name (default='ingen'). */ + char * jack_name_orig; /**< @brief JACK client name original value given at command line. */ + const char *jack_name_help; /**< @brief JACK client name help description. */ char * load_arg; /**< @brief Load patch. */ char * load_orig; /**< @brief Load patch original value given at command line. */ const char *load_help; /**< @brief Load patch help description. */ + int parallelism_arg; /**< @brief Number of concurrent process threads (default='1'). */ + char * parallelism_orig; /**< @brief Number of concurrent process threads original value given at command line. */ + const char *parallelism_help; /**< @brief Number of concurrent process threads help description. */ char * path_arg; /**< @brief Target path for loaded patch. */ char * path_orig; /**< @brief Target path for loaded patch original value given at command line. */ const char *path_help; /**< @brief Target path for loaded patch help description. */ char * run_arg; /**< @brief Run script. */ char * run_orig; /**< @brief Run script original value given at command line. */ const char *run_help; /**< @brief Run script help description. */ - int parallelism_arg; /**< @brief Number of concurrent process threads (default='1'). */ - char * parallelism_orig; /**< @brief Number of concurrent process threads original value given at command line. */ - const char *parallelism_help; /**< @brief Number of concurrent process threads help description. */ unsigned int help_given ; /**< @brief Whether help was given. */ unsigned int version_given ; /**< @brief Whether version was given. */ + unsigned int client_port_given ; /**< @brief Whether client-port was given. */ + unsigned int connect_given ; /**< @brief Whether connect was given. */ unsigned int engine_given ; /**< @brief Whether engine was given. */ unsigned int engine_port_given ; /**< @brief Whether engine-port was given. */ - unsigned int connect_given ; /**< @brief Whether connect was given. */ unsigned int gui_given ; /**< @brief Whether gui was given. */ - unsigned int client_port_given ; /**< @brief Whether client-port was given. */ + unsigned int jack_name_given ; /**< @brief Whether jack-name was given. */ unsigned int load_given ; /**< @brief Whether load was given. */ + unsigned int parallelism_given ; /**< @brief Whether parallelism was given. */ unsigned int path_given ; /**< @brief Whether path was given. */ unsigned int run_given ; /**< @brief Whether run was given. */ - unsigned int parallelism_given ; /**< @brief Whether parallelism was given. */ + char **inputs ; /**< @brief unamed options (options without names) */ + unsigned inputs_num ; /**< @brief unamed options number */ } ; /** @brief The additional parameters to pass to parser functions */ -- cgit v1.2.1