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/http/HTTPClientReceiver.hpp | |
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/http/HTTPClientReceiver.hpp')
-rw-r--r-- | src/http/HTTPClientReceiver.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/http/HTTPClientReceiver.hpp b/src/http/HTTPClientReceiver.hpp index d7165c81..39407eba 100644 --- a/src/http/HTTPClientReceiver.hpp +++ b/src/http/HTTPClientReceiver.hpp @@ -45,17 +45,17 @@ public: ~HTTPClientReceiver(); - static void send(SoupMessage* msg); - static void close_session(); + void send(SoupMessage* msg); + void close_session(); std::string uri() const { return _url; } void start(bool dump); void stop(); -private: static void message_callback(SoupSession* session, SoupMessage* msg, void* ptr); +private: void update(const std::string& str); class Listener : public Raul::Thread { @@ -76,6 +76,7 @@ private: SharedPtr<ClientInterface> _target; Shared::World* _world; const std::string _url; + SoupSession* _client_session; bool _quit_flag; }; |