From a47220df59c076eaa717710dc2ffc6614bee268c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Oct 2007 05:27:41 +0000 Subject: Blink MIDI ports on message transmission. git-svn-id: http://svn.drobilla.net/lad/ingen@794 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/ThreadedSigClientInterface.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/libs/client/ThreadedSigClientInterface.hpp') diff --git a/src/libs/client/ThreadedSigClientInterface.hpp b/src/libs/client/ThreadedSigClientInterface.hpp index 22f03118..c79ed090 100644 --- a/src/libs/client/ThreadedSigClientInterface.hpp +++ b/src/libs/client/ThreadedSigClientInterface.hpp @@ -65,6 +65,7 @@ public: , disconnection_slot(signal_disconnection.make_slot()) , metadata_update_slot(signal_metadata_update.make_slot()) , control_change_slot(signal_control_change.make_slot()) + , port_activity_slot(signal_port_activity.make_slot()) , program_add_slot(signal_program_add.make_slot()) , program_remove_slot(signal_program_remove.make_slot()) {} @@ -137,6 +138,9 @@ public: void control_change(const string& port_path, float value) { push_sig(sigc::bind(control_change_slot, port_path, value)); } + + void port_activity(const string& port_path) + { push_sig(sigc::bind(port_activity_slot, port_path)); } void program_add(const string& path, uint32_t bank, uint32_t program, const string& name) { push_sig(sigc::bind(program_add_slot, path, bank, program, name)); } @@ -176,6 +180,7 @@ private: sigc::slot disconnection_slot; sigc::slot metadata_update_slot; sigc::slot control_change_slot; + sigc::slot port_activity_slot; sigc::slot program_add_slot; sigc::slot program_remove_slot; }; -- cgit v1.2.1