diff options
author | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
commit | 254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 (patch) | |
tree | ddf849fc5b64d1096846c28c1f1a742f54c3adff /src/ingen | |
parent | bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (diff) | |
download | ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.gz ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.bz2 ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.zip |
Partially functioning communication between Ingen LV2 plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 2a9645af..5460aee0 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -84,8 +84,7 @@ ingen_try(bool cond, const char* msg) int main(int argc, char** argv) { - Raul::Forge forge; - Shared::Configuration conf(&forge); + Shared::Configuration conf; // Parse command line options try { @@ -116,7 +115,7 @@ main(int argc, char** argv) world = new Ingen::Shared::World(&conf, argc, argv, NULL, NULL); - if (conf.option("uuid").get_string()) { + if (conf.option("uuid").is_valid()) { world->set_jack_uuid(conf.option("uuid").get_string()); } @@ -186,8 +185,8 @@ main(int argc, char** argv) if (conf.option("load").is_valid() || !conf.files().empty()) { boost::optional<Path> parent; boost::optional<Symbol> symbol; - const Raul::Atom& path_option = conf.option("path"); - + + const Raul::Configuration::Value& path_option = conf.option("path"); if (path_option.is_valid()) { if (Path::is_valid(path_option.get_string())) { const Path p(path_option.get_string()); |