From 833c93cbde3c7829091a34204435b995a2f5e387 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 24 Nov 2011 18:06:52 +0000 Subject: Remove client from world. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3619 a436a847-0d15-0410-975c-d299462d15a1 --- src/ingen/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ingen') 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())), + SharedPtr client(new Client::SigClientInterface()); + ingen_try((engine_interface = world->interface(uri, client)), (string("Unable to create interface to `") + uri + "'").c_str()); } -- cgit v1.2.1