diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:56:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:56:54 +0000 |
commit | db134c341c8861b356b42c029b9d983bfc7bf806 (patch) | |
tree | fbaf9d73871ed2efacaa1e6cdaa62edff309391a /src | |
parent | 5268059f5d4ca9325a78da688a7622898354215a (diff) | |
download | ingen-db134c341c8861b356b42c029b9d983bfc7bf806.tar.gz ingen-db134c341c8861b356b42c029b9d983bfc7bf806.tar.bz2 ingen-db134c341c8861b356b42c029b9d983bfc7bf806.zip |
Remove unused junk on ClientInterface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1994 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/client/HTTPClientReceiver.cpp | 4 | ||||
-rw-r--r-- | src/common/interface/ClientInterface.hpp | 9 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/client/HTTPClientReceiver.cpp b/src/client/HTTPClientReceiver.cpp index bafcae9f..cad55107 100644 --- a/src/client/HTTPClientReceiver.cpp +++ b/src/client/HTTPClientReceiver.cpp @@ -138,8 +138,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi const string path = soup_message_get_uri(msg)->path; if (path == Path::root_uri) { me->_target->response_ok(0); - me->_target->enable(); - } else if (path == "/plugins") { if (msg->response_body->data == NULL) { @@ -147,7 +145,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi } else { Glib::Mutex::Lock lock(me->_mutex); me->_target->response_ok(0); - me->_target->enable(); me->_parser->parse_string(me->_world, me->_target.get(), Glib::ustring(msg->response_body->data), Glib::ustring(".")); @@ -159,7 +156,6 @@ HTTPClientReceiver::message_callback(SoupSession* session, SoupMessage* msg, voi } else { Glib::Mutex::Lock lock(me->_mutex); me->_target->response_ok(0); - me->_target->enable(); me->_parser->parse_string(me->_world, me->_target.get(), Glib::ustring(msg->response_body->data), Glib::ustring("/patch/")); diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index 104427e6..a154e2ca 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -44,15 +44,6 @@ public: virtual void response_ok(int32_t id) = 0; virtual void response_error(int32_t id, const std::string& msg) = 0; - virtual bool enabled() const = 0; - - virtual void enable() = 0; - - /** Signifies the client does not wish to receive any messages until - * enable is called. Useful for performance and avoiding feedback. - */ - virtual void disable() = 0; - /** Transfers are 'weak' bundles. These are used to break a large group * of similar/related messages into larger chunks (solely for communication * efficiency). A bunch of messages in a transfer will arrive as 1 or more |