diff options
author | David Robillard <d@drobilla.net> | 2011-11-24 18:06:52 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-24 18:06:52 +0000 |
commit | 833c93cbde3c7829091a34204435b995a2f5e387 (patch) | |
tree | bc03ad4c27c78118098072a55f5566042eb80243 /src/ingen | |
parent | 998fc10a1f8358b455960ecafee9910a0ea906d3 (diff) | |
download | ingen-833c93cbde3c7829091a34204435b995a2f5e387.tar.gz ingen-833c93cbde3c7829091a34204435b995a2f5e387.tar.bz2 ingen-833c93cbde3c7829091a34204435b995a2f5e387.zip |
Remove client from world.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3619 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/ingen')
-rw-r--r-- | src/ingen/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 38442878..8a929458 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -45,7 +45,7 @@ #include "ingen/shared/Configuration.hpp" #include "ingen/shared/World.hpp" #include "ingen/shared/runtime_paths.hpp" -#include "ingen/client/ThreadedSigClientInterface.hpp" +#include "ingen/client/SigClientInterface.hpp" #ifdef WITH_BINDINGS #include "bindings/ingen_bindings.hpp" #endif @@ -156,9 +156,9 @@ main(int argc, char** argv) ingen_try(world->load_module("http_client"), "Unable to load HTTP client module"); #endif - const char* const uri = conf.option("connect").get_string(); - ingen_try((engine_interface = world->interface(uri, SharedPtr<ClientInterface>())), + SharedPtr<ClientInterface> client(new Client::SigClientInterface()); + ingen_try((engine_interface = world->interface(uri, client)), (string("Unable to create interface to `") + uri + "'").c_str()); } |