diff options
author | David Robillard <d@drobilla.net> | 2009-05-29 00:44:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-29 00:44:49 +0000 |
commit | 085f5e9c5eec12171596c47c0b70f6634dbc1402 (patch) | |
tree | 16df3f452c174bbd1f1099936dc592939a59967e /src/client/client.cpp | |
parent | b3c31c94eb572063ec97f24a89e5f7f98d5eae41 (diff) | |
download | ingen-085f5e9c5eec12171596c47c0b70f6634dbc1402.tar.gz ingen-085f5e9c5eec12171596c47c0b70f6634dbc1402.tar.bz2 ingen-085f5e9c5eec12171596c47c0b70f6634dbc1402.zip |
Node creation via HTTP.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2045 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r-- | src/client/client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index 3ced5f63..53d7810f 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -26,6 +26,7 @@ #include "HTTPEngineSender.hpp" #endif + using namespace std; namespace Ingen { @@ -33,7 +34,7 @@ namespace Client { SharedPtr<Ingen::Shared::EngineInterface> -new_remote_interface(const std::string& url) +new_remote_interface(Ingen::Shared::World* world, const std::string& url) { const string scheme = url.substr(0, url.find(":")); @@ -47,7 +48,7 @@ new_remote_interface(const std::string& url) #ifdef HAVE_SOUP if (scheme == "http") { - HTTPEngineSender* hes = new HTTPEngineSender(url); + HTTPEngineSender* hes = new HTTPEngineSender(world, url); hes->attach(rand(), true); return SharedPtr<Shared::EngineInterface>(hes); } |