summaryrefslogtreecommitdiffstats
path: root/src/libs/client/ThreadedSigClientInterface.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
committerDavid Robillard <d@drobilla.net>2008-08-17 04:05:30 +0000
commitfa067527fe00b66b85d71955e152e9ef9215c9cd (patch)
tree382a8e9e58259929415e7188992252ac1ca2ea9b /src/libs/client/ThreadedSigClientInterface.hpp
parent3019b09099371b3fe568b7dcc3bb92203d800b1f (diff)
downloadingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.gz
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.tar.bz2
ingen-fa067527fe00b66b85d71955e152e9ef9215c9cd.zip
Replace imperative polyphony/polyphonic stuff with properties (kill more API).
git-svn-id: http://svn.drobilla.net/lad/ingen@1412 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/client/ThreadedSigClientInterface.hpp')
-rw-r--r--src/libs/client/ThreadedSigClientInterface.hpp16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/libs/client/ThreadedSigClientInterface.hpp b/src/libs/client/ThreadedSigClientInterface.hpp
index 291df426..fb6eb447 100644
--- a/src/libs/client/ThreadedSigClientInterface.hpp
+++ b/src/libs/client/ThreadedSigClientInterface.hpp
@@ -54,9 +54,7 @@ public:
, new_patch_slot(signal_new_patch.make_slot())
, new_node_slot(signal_new_node.make_slot())
, new_port_slot(signal_new_port.make_slot())
- , polyphonic_slot(signal_polyphonic.make_slot())
, connection_slot(signal_connection.make_slot())
- , patch_polyphony_slot(signal_patch_polyphony.make_slot())
, patch_cleared_slot(signal_patch_cleared.make_slot())
, object_destroyed_slot(signal_object_destroyed.make_slot())
, object_renamed_slot(signal_object_renamed.make_slot())
@@ -99,24 +97,18 @@ public:
void new_patch(const string& path, uint32_t poly)
{ push_sig(sigc::bind(new_patch_slot, path, poly)); }
- void new_node(const string& path, const string& plugin_uri, bool polyphonic)
- { push_sig(sigc::bind(new_node_slot, path, plugin_uri, polyphonic)); }
+ void new_node(const string& path, const string& plugin_uri)
+ { push_sig(sigc::bind(new_node_slot, path, plugin_uri)); }
void new_port(const string& path, uint32_t index, const string& data_type, bool is_output)
{ push_sig(sigc::bind(new_port_slot, path, index, data_type, is_output)); }
- void polyphonic(const string& path, bool polyphonic)
- { push_sig(sigc::bind(polyphonic_slot, path, polyphonic)); }
-
void connect(const string& src_port_path, const string& dst_port_path)
{ push_sig(sigc::bind(connection_slot, src_port_path, dst_port_path)); }
void object_destroyed(const string& path)
{ push_sig(sigc::bind(object_destroyed_slot, path)); }
- void patch_polyphony(const string& path, uint32_t poly)
- { push_sig(sigc::bind(patch_polyphony_slot, path, poly)); }
-
void patch_cleared(const string& path)
{ push_sig(sigc::bind(patch_cleared_slot, path)); }
@@ -164,11 +156,9 @@ private:
sigc::slot<void, string> error_slot;
sigc::slot<void, string, string, string, string> new_plugin_slot;
sigc::slot<void, string, uint32_t> new_patch_slot;
- sigc::slot<void, string, string, bool> new_node_slot;
+ sigc::slot<void, string, string> new_node_slot;
sigc::slot<void, string, uint32_t, string, bool> new_port_slot;
- sigc::slot<void, string, bool> polyphonic_slot;
sigc::slot<void, string, string> connection_slot;
- sigc::slot<void, string, uint32_t> patch_polyphony_slot;
sigc::slot<void, string> patch_cleared_slot;
sigc::slot<void, string> object_destroyed_slot;
sigc::slot<void, string, string> object_renamed_slot;