summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-27 20:32:47 +0000
committerDavid Robillard <d@drobilla.net>2009-05-27 20:32:47 +0000
commit20ff9af76b21b751ac29b354cf557e86b69c52f7 (patch)
treeec6b366e3f4b54109d9e4d3a28274fbc6adcf6ea /src/client
parent2d90647f9f6f36ac424a6b8f2e86e110eb0c5fd2 (diff)
downloadingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.tar.gz
ingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.tar.bz2
ingen-20ff9af76b21b751ac29b354cf557e86b69c52f7.zip
Documentation.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2015 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/OSCClientReceiver.cpp4
-rw-r--r--src/client/OSCClientReceiver.hpp2
-rw-r--r--src/client/OSCEngineSender.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp
index ece3289c..ec1f1378 100644
--- a/src/client/OSCClientReceiver.cpp
+++ b/src/client/OSCClientReceiver.cpp
@@ -145,7 +145,7 @@ OSCClientReceiver::setup_callbacks()
lo_server_thread_add_method(_st, "/ingen/plugin", "sss", plugin_cb, this);
lo_server_thread_add_method(_st, "/ingen/put", NULL, put_cb, this);
lo_server_thread_add_method(_st, "/ingen/move", "ss", move_cb, this);
- lo_server_thread_add_method(_st, "/ingen/delete", "s", destroyed_cb, this);
+ lo_server_thread_add_method(_st, "/ingen/delete", "s", del_cb, this);
lo_server_thread_add_method(_st, "/ingen/clear_patch", "s", clear_patch_cb, this);
lo_server_thread_add_method(_st, "/ingen/new_connection", "ss", connection_cb, this);
lo_server_thread_add_method(_st, "/ingen/disconnection", "ss", disconnection_cb, this);
@@ -169,7 +169,7 @@ OSCClientReceiver::_error_cb(const char* path, const char* types, lo_arg** argv,
int
-OSCClientReceiver::_destroyed_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)
+OSCClientReceiver::_del_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)
{
_target->del((const char*)&argv[0]->s);
return 0;
diff --git a/src/client/OSCClientReceiver.hpp b/src/client/OSCClientReceiver.hpp
index 4e788f08..d44c4ddb 100644
--- a/src/client/OSCClientReceiver.hpp
+++ b/src/client/OSCClientReceiver.hpp
@@ -84,7 +84,7 @@ private:
LO_HANDLER(plugin);
LO_HANDLER(plugin_list_end);
LO_HANDLER(new_patch);
- LO_HANDLER(destroyed);
+ LO_HANDLER(del);
LO_HANDLER(clear_patch);
LO_HANDLER(move);
LO_HANDLER(connection);
diff --git a/src/client/OSCEngineSender.cpp b/src/client/OSCEngineSender.cpp
index 3952b802..ac0d948c 100644
--- a/src/client/OSCEngineSender.cpp
+++ b/src/client/OSCEngineSender.cpp
@@ -155,7 +155,7 @@ OSCEngineSender::move(const Path& old_path,
void
OSCEngineSender::del(const Path& path)
{
- send("/ingen/destroy", "is",
+ send("/ingen/delete", "is",
next_id(),
path.c_str(),
LO_ARGS_END);