summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-21 22:29:51 +0000
committerDavid Robillard <d@drobilla.net>2011-10-21 22:29:51 +0000
commit20b765b8befa32eed913e16d68f03a65459a605d (patch)
tree955dda8e59707c7dc0149288b31187d071518ce4 /src/client
parente928751490386d4ec028a3314ebc89cdd25ea45d (diff)
downloadingen-20b765b8befa32eed913e16d68f03a65459a605d.tar.gz
ingen-20b765b8befa32eed913e16d68f03a65459a605d.tar.bz2
ingen-20b765b8befa32eed913e16d68f03a65459a605d.zip
Make engine receivers depend only on ServerInterface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3572 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/HTTPEngineSender.hpp2
-rw-r--r--src/client/OSCEngineSender.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/HTTPEngineSender.hpp b/src/client/HTTPEngineSender.hpp
index 9ecf3013..14439e39 100644
--- a/src/client/HTTPEngineSender.hpp
+++ b/src/client/HTTPEngineSender.hpp
@@ -59,7 +59,7 @@ public:
inline int32_t next_id()
{ int32_t ret = (_id == -1) ? -1 : _id++; return ret; }
- void set_next_response_id(int32_t id) { _id = id; }
+ void respond_to(ClientInterface* client, int32_t id) { _id = id; }
void disable_responses() { _id = -1; }
void attach(int32_t ping_id, bool block);
diff --git a/src/client/OSCEngineSender.hpp b/src/client/OSCEngineSender.hpp
index 3aea974e..75569ec0 100644
--- a/src/client/OSCEngineSender.hpp
+++ b/src/client/OSCEngineSender.hpp
@@ -53,7 +53,7 @@ public:
inline int32_t next_id()
{ int32_t ret = (_id == -1) ? -1 : _id++; return ret; }
- void set_next_response_id(int32_t id) { _id = id; }
+ void respond_to(ClientInterface* client, int32_t id) { _id = id; }
void disable_responses() { _id = -1; }
void attach(int32_t ping_id, bool block);