diff options
author | David Robillard <d@drobilla.net> | 2009-05-27 18:22:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-27 18:22:56 +0000 |
commit | 0c1576d21588ece4e226da04523f36adac3a14c3 (patch) | |
tree | c7ad62136724b44b654e9d2c08fd20c89473a65f /src/client/OSCClientReceiver.cpp | |
parent | c11ecf0fd10641218326ae384e80413ba3cdf46c (diff) | |
download | ingen-0c1576d21588ece4e226da04523f36adac3a14c3.tar.gz ingen-0c1576d21588ece4e226da04523f36adac3a14c3.tar.bz2 ingen-0c1576d21588ece4e226da04523f36adac3a14c3.zip |
Rename 'destroy' 'delete' ('del' in code) (WebDAV DELETE).
Rename 'rename' 'move' (WebDAV MOVE).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2012 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client/OSCClientReceiver.cpp')
-rw-r--r-- | src/client/OSCClientReceiver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/OSCClientReceiver.cpp b/src/client/OSCClientReceiver.cpp index e8b8c33b..9c94659a 100644 --- a/src/client/OSCClientReceiver.cpp +++ b/src/client/OSCClientReceiver.cpp @@ -146,7 +146,7 @@ OSCClientReceiver::setup_callbacks() lo_server_thread_add_method(_st, "/ingen/new_patch", "si", new_patch_cb, this); lo_server_thread_add_method(_st, "/ingen/destroyed", "s", destroyed_cb, this); lo_server_thread_add_method(_st, "/ingen/clear_patch", "s", clear_patch_cb, this); - lo_server_thread_add_method(_st, "/ingen/rename", "ss", rename_cb, this); + lo_server_thread_add_method(_st, "/ingen/move", "ss", move_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); lo_server_thread_add_method(_st, "/ingen/new_port", "sisi", new_port_cb, this); @@ -172,7 +172,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) { - _target->destroy((const char*)&argv[0]->s); + _target->del((const char*)&argv[0]->s); return 0; } @@ -186,9 +186,9 @@ OSCClientReceiver::_clear_patch_cb(const char* path, const char* types, lo_arg** int -OSCClientReceiver::_rename_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) +OSCClientReceiver::_move_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg) { - _target->rename((const char*)&argv[0]->s, (const char*)&argv[1]->s); + _target->move((const char*)&argv[0]->s, (const char*)&argv[1]->s); return 0; } |