diff options
author | David Robillard <d@drobilla.net> | 2012-08-14 04:23:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-14 04:23:23 +0000 |
commit | 80fee5c311fdbdeda573ec81f59158a5fc87d0a1 (patch) | |
tree | 8e7e5a6c9bda32bbe0ae8e8c9f6ab23e44c7c181 /src/ingen | |
parent | 058eaf65642268047a984a5c80d54a1f62a85130 (diff) | |
download | ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.gz ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.bz2 ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.zip |
Update for latest Raul.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index defba485..dcb27ea1 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -123,8 +123,10 @@ main(int argc, char** argv) "Unable to load socket client module"); #endif const char* const uri = conf.option("connect").get_string(); + ingen_try(Raul::URI::is_valid(uri), + (Raul::fmt("Invalid URI <%1%>") % uri).str().c_str()); SharedPtr<Interface> client(new Client::ThreadedSigClientInterface(1024)); - ingen_try((engine_interface = world->new_interface(uri, client)), + ingen_try((engine_interface = world->new_interface(Raul::URI(uri), client)), (string("Unable to create interface to `") + uri + "'").c_str()); } @@ -174,7 +176,7 @@ main(int argc, char** argv) conf.option("load").get_string() : conf.files().front(); - engine_interface->get("ingen:plugins"); + engine_interface->get(Raul::URI("ingen:plugins")); engine_interface->get(GraphObject::root_uri()); world->parser()->parse_file( world, engine_interface.get(), path, parent, symbol); |