summaryrefslogtreecommitdiffstats
path: root/src/libs/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-19 01:04:54 +0000
committerDavid Robillard <d@drobilla.net>2008-08-19 01:04:54 +0000
commita7e39b85d7c35ec44c613e593c57ff27de0d06bc (patch)
tree2a83f1264721bd5c7a06ad4beaa5d1f28f8bb0d6 /src/libs/client
parent5609c1ce452f8122b5ed12144dd4c1941bd07bc2 (diff)
downloadingen-a7e39b85d7c35ec44c613e593c57ff27de0d06bc.tar.gz
ingen-a7e39b85d7c35ec44c613e593c57ff27de0d06bc.tar.bz2
ingen-a7e39b85d7c35ec44c613e593c57ff27de0d06bc.zip
Remove more API/code: num_plugins (unused legacy of the really crap OSC days).
git-svn-id: http://svn.drobilla.net/lad/ingen@1442 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client')
-rw-r--r--src/libs/client/OSCClientReceiver.cpp13
-rw-r--r--src/libs/client/OSCClientReceiver.hpp1
-rw-r--r--src/libs/client/SigClientInterface.hpp3
-rw-r--r--src/libs/client/ThreadedSigClientInterface.hpp4
4 files changed, 0 insertions, 21 deletions
diff --git a/src/libs/client/OSCClientReceiver.cpp b/src/libs/client/OSCClientReceiver.cpp
index 5f12cd6e..23fcd871 100644
--- a/src/libs/client/OSCClientReceiver.cpp
+++ b/src/libs/client/OSCClientReceiver.cpp
@@ -141,7 +141,6 @@ OSCClientReceiver::setup_callbacks()
{
lo_server_thread_add_method(_st, "/ingen/ok", "i", response_ok_cb, this);
lo_server_thread_add_method(_st, "/ingen/error", "is", response_error_cb, this);
- lo_server_thread_add_method(_st, "/ingen/num_plugins", "i", num_plugins_cb, this);
lo_server_thread_add_method(_st, "/ingen/plugin", "ssss", plugin_cb, this);
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);
@@ -351,18 +350,6 @@ OSCClientReceiver::_response_error_cb(const char* path, const char* types, lo_ar
}
-/** Number of plugins in engine, should precede /ingen/plugin messages in response
- * to a /ingen/send_plugins
- */
-int
-OSCClientReceiver::_num_plugins_cb(const char* path, const char* types, lo_arg** argv, int argc, lo_message msg)
-{
- num_plugins(argv[0]->i);
-
- return 0;
-}
-
-
/** A plugin info response from the server, in response to an /ingen/send_plugins
*/
int
diff --git a/src/libs/client/OSCClientReceiver.hpp b/src/libs/client/OSCClientReceiver.hpp
index eb1efd21..5913322c 100644
--- a/src/libs/client/OSCClientReceiver.hpp
+++ b/src/libs/client/OSCClientReceiver.hpp
@@ -81,7 +81,6 @@ private:
LO_HANDLER(error);
LO_HANDLER(response_ok);
LO_HANDLER(response_error);
- LO_HANDLER(num_plugins);
LO_HANDLER(plugin);
LO_HANDLER(plugin_list_end);
LO_HANDLER(new_patch);
diff --git a/src/libs/client/SigClientInterface.hpp b/src/libs/client/SigClientInterface.hpp
index dbedd79c..a272fdee 100644
--- a/src/libs/client/SigClientInterface.hpp
+++ b/src/libs/client/SigClientInterface.hpp
@@ -51,7 +51,6 @@ public:
sigc::signal<void> signal_bundle_begin;
sigc::signal<void> signal_bundle_end;
sigc::signal<void, string> signal_error;
- sigc::signal<void, uint32_t> signal_num_plugins;
sigc::signal<void, string, string, string, string> signal_new_plugin;
sigc::signal<void, string, uint32_t> signal_new_patch;
sigc::signal<void, string, string> signal_new_node;
@@ -90,8 +89,6 @@ protected:
void transfer_begin() {}
void transfer_end() {}
- void num_plugins(uint32_t num) { signal_num_plugins.emit(num); }
-
void response_ok(int32_t id)
{ if (_enabled) signal_response_ok.emit(id); }
diff --git a/src/libs/client/ThreadedSigClientInterface.hpp b/src/libs/client/ThreadedSigClientInterface.hpp
index fb6eb447..7cbb2bfe 100644
--- a/src/libs/client/ThreadedSigClientInterface.hpp
+++ b/src/libs/client/ThreadedSigClientInterface.hpp
@@ -80,8 +80,6 @@ public:
void transfer_begin() {}
void transfer_end() {}
- void num_plugins(uint32_t num) { _num_plugins = num; }
-
void response_ok(int32_t id)
{ push_sig(sigc::bind(response_ok_slot, id)); }
@@ -146,11 +144,9 @@ private:
void push_sig(Closure ev);
Raul::SRSWQueue<Closure> _sigs;
- uint32_t _num_plugins;
sigc::slot<void> bundle_begin_slot;
sigc::slot<void> bundle_end_slot;
- sigc::slot<void, uint32_t> num_plugins_slot;
sigc::slot<void, int32_t> response_ok_slot;
sigc::slot<void, int32_t, string> response_error_slot;
sigc::slot<void, string> error_slot;