diff options
author | David Robillard <d@drobilla.net> | 2009-05-29 03:48:09 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-29 03:48:09 +0000 |
commit | 90386cd6f49e2e9bfb11e7596ae6ce3ac51dfe16 (patch) | |
tree | e9d47b4de18f266691b13d63e58fedcdba398bc4 /src/client/HTTPClientReceiver.hpp | |
parent | 5245a25bafec9372d07c346457d473cfa76724df (diff) | |
download | ingen-90386cd6f49e2e9bfb11e7596ae6ce3ac51dfe16.tar.gz ingen-90386cd6f49e2e9bfb11e7596ae6ce3ac51dfe16.tar.bz2 ingen-90386cd6f49e2e9bfb11e7596ae6ce3ac51dfe16.zip |
Fix reconnecting to engine via various protocols (inferred from user URI) in GUI.
Separate HTTP client receiver and sender sanely.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2048 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/HTTPClientReceiver.hpp')
-rw-r--r-- | src/client/HTTPClientReceiver.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/HTTPClientReceiver.hpp b/src/client/HTTPClientReceiver.hpp index a35215b6..6d589b3a 100644 --- a/src/client/HTTPClientReceiver.hpp +++ b/src/client/HTTPClientReceiver.hpp @@ -31,7 +31,6 @@ namespace Ingen { namespace Client { - class HTTPClientReceiver : public boost::noncopyable, public Raul::Deletable { public: @@ -41,6 +40,9 @@ public: ~HTTPClientReceiver(); + static void send(SoupMessage* msg); + static void close_session(); + std::string uri() const { return _url; } void start(bool dump); @@ -70,7 +72,6 @@ private: Shared::World* _world; const std::string _url; - SoupSession* _session; SharedPtr<Serialisation::Parser> _parser; }; |