summaryrefslogtreecommitdiff
path: root/libs/surfaces/generic_midi/midicontrollable.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-06-25 12:33:13 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-06-25 12:33:13 +0000
commit92469df6ab3417c6d953f0b51766d42d71a230af (patch)
tree02bb3bf290988004f3c671df2793139b060ba121 /libs/surfaces/generic_midi/midicontrollable.h
parented51eb8801c95b630d510ec6ced6d37c07544157 (diff)
add late/lazy binding between generic MIDI bindings and controllable elements in the session. this allows you to load a binding map that refers to elements that have not yet been created in the session, and when they are created, the binding will work
git-svn-id: svn://localhost/ardour2/branches/3.0@12921 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/generic_midi/midicontrollable.h')
-rw-r--r--libs/surfaces/generic_midi/midicontrollable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/surfaces/generic_midi/midicontrollable.h b/libs/surfaces/generic_midi/midicontrollable.h
index bf377b6651..571f71edfe 100644
--- a/libs/surfaces/generic_midi/midicontrollable.h
+++ b/libs/surfaces/generic_midi/midicontrollable.h
@@ -116,6 +116,8 @@ class MIDIControllable : public PBD::Stateful
uint32_t _rid;
std::string _what;
bool _bank_relative;
+
+ int lookup_controllable();
void midi_receiver (MIDI::Parser &p, MIDI::byte *, size_t);
void midi_sense_note (MIDI::Parser &, MIDI::EventTwoBytes *, bool is_on);