From 981c7950a6f5fc9f22decaee261556d20b641d5c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 13 May 2011 01:22:29 +0000 Subject: Make signals private with accessors, and localise dependency on sigc::signal. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3258 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ThreadedSigClientInterface.hpp | 33 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'src/client/ThreadedSigClientInterface.hpp') diff --git a/src/client/ThreadedSigClientInterface.hpp b/src/client/ThreadedSigClientInterface.hpp index 4fe85209..373fb14d 100644 --- a/src/client/ThreadedSigClientInterface.hpp +++ b/src/client/ThreadedSigClientInterface.hpp @@ -47,23 +47,22 @@ class ThreadedSigClientInterface : public SigClientInterface { public: ThreadedSigClientInterface(uint32_t queue_size) - : _sigs(queue_size) - , response_ok_slot(signal_response_ok.make_slot()) - , response_error_slot(signal_response_error.make_slot()) - , error_slot(signal_error.make_slot()) - , new_port_slot(signal_new_port.make_slot()) - , put_slot(signal_put.make_slot()) - , connection_slot(signal_connection.make_slot()) - , object_deleted_slot(signal_object_deleted.make_slot()) - , object_moved_slot(signal_object_moved.make_slot()) - , disconnection_slot(signal_disconnection.make_slot()) - , disconnect_all_slot(signal_disconnect_all.make_slot()) - , variable_change_slot(signal_variable_change.make_slot()) - , property_change_slot(signal_property_change.make_slot()) - , port_value_slot(signal_port_value.make_slot()) - , activity_slot(signal_activity.make_slot()) - { - } + : _sigs(queue_size) + , response_ok_slot(_signal_response_ok.make_slot()) + , response_error_slot(_signal_response_error.make_slot()) + , error_slot(_signal_error.make_slot()) + , new_port_slot(_signal_new_port.make_slot()) + , put_slot(_signal_put.make_slot()) + , connection_slot(_signal_connection.make_slot()) + , object_deleted_slot(_signal_object_deleted.make_slot()) + , object_moved_slot(_signal_object_moved.make_slot()) + , disconnection_slot(_signal_disconnection.make_slot()) + , disconnect_all_slot(_signal_disconnect_all.make_slot()) + , variable_change_slot(_signal_variable_change.make_slot()) + , property_change_slot(_signal_property_change.make_slot()) + , port_value_slot(_signal_port_value.make_slot()) + , activity_slot(_signal_activity.make_slot()) + {} virtual Raul::URI uri() const { return "http://drobilla.net/ns/ingen#internal"; } -- cgit v1.2.1