diff options
author | David Robillard <d@drobilla.net> | 2012-03-16 03:15:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-16 03:15:41 +0000 |
commit | 119468f621a59d86da10bedf75c4427b70f9d370 (patch) | |
tree | f15ea3f345d43b37d492096876c483543fcc1426 /src/osc/OSCClientReceiver.cpp | |
parent | 0b93e39af34d3af361f35d510224fda4fda56071 (diff) | |
download | ingen-119468f621a59d86da10bedf75c4427b70f9d370.tar.gz ingen-119468f621a59d86da10bedf75c4427b70f9d370.tar.bz2 ingen-119468f621a59d86da10bedf75c4427b70f9d370.zip |
Remove activity from interface and use set_property() instead.
Move client registration stuff to Engine and remove corresponding events.
Simply response ID interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4066 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/osc/OSCClientReceiver.cpp')
-rw-r--r-- | src/osc/OSCClientReceiver.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/osc/OSCClientReceiver.cpp b/src/osc/OSCClientReceiver.cpp index a0cd58b7..a7965296 100644 --- a/src/osc/OSCClientReceiver.cpp +++ b/src/osc/OSCClientReceiver.cpp @@ -149,8 +149,6 @@ OSCClientReceiver::setup_callbacks() lo_server_thread_add_method(_st, "/connect", "ss", connection_cb, this); lo_server_thread_add_method(_st, "/disconnect", "ss", disconnection_cb, this); lo_server_thread_add_method(_st, "/set_property", NULL, set_property_cb, this); - lo_server_thread_add_method(_st, "/activity", "sT", activity_cb, this); - lo_server_thread_add_method(_st, "/activity", "sf", activity_cb, this); } /** Catches errors that aren't a direct result of a client request. @@ -269,18 +267,6 @@ OSCClientReceiver::_set_property_cb(const char* path, const char* types, lo_arg* } int -OSCClientReceiver::_activity_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) -{ - const char* const port_path = &argv[0]->s; - - Atom value = AtomLiblo::lo_arg_to_atom(types[1], argv[1]); - - _target->activity(port_path, value); - - return 0; -} - -int OSCClientReceiver::_response_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { assert(!strcmp(types, "ii")); |