aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_gtk2.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-18 06:54:24 +0000
committerDavid Robillard <d@drobilla.net>2012-02-18 06:54:24 +0000
commitbfee18f05fae23fa8107de86761c79d07955e0ca (patch)
tree83ce5ca59a588d2eb63fa3fbf82ca3b11e6af61f /src/jalv_gtk2.c
parent719c973b349724657c71b545f4f3d4498d633b23 (diff)
downloadjalv-bfee18f05fae23fa8107de86761c79d07955e0ca.tar.gz
jalv-bfee18f05fae23fa8107de86761c79d07955e0ca.tar.bz2
jalv-bfee18f05fae23fa8107de86761c79d07955e0ca.zip
Add -d option and implement proper communication dumping.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3986 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_gtk2.c')
-rw-r--r--src/jalv_gtk2.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jalv_gtk2.c b/src/jalv_gtk2.c
index fad7609..3e20398 100644
--- a/src/jalv_gtk2.c
+++ b/src/jalv_gtk2.c
@@ -1,5 +1,5 @@
/*
- Copyright 2007-2011 David Robillard <http://drobilla.net>
+ Copyright 2007-2012 David Robillard <http://drobilla.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
@@ -36,6 +36,8 @@ jalv_init(int* argc, char*** argv, JalvOptions* opts)
"UUID for Jack session restoration", "UUID" },
{ "load", 'l', 0, G_OPTION_ARG_STRING, &opts->load,
"Load state from save directory", "DIR" },
+ { "dump", 'd', 0, G_OPTION_ARG_NONE, &opts->dump,
+ "Dump plugin <=> UI communication", NULL },
{ 0, 0, 0, 0, 0, 0, 0 } };
GError* error = NULL;
const int err = gtk_init_with_args(