mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
make MIDISurface::midi_input_handler() public
It needs to be public to bind it to a signal from a derived class. Silly C++.
This commit is contained in:
parent
7130deafdf
commit
f8ed004be0
1 changed files with 2 additions and 1 deletions
|
|
@ -73,6 +73,8 @@ class MIDISurface : public ARDOUR::ControlProtocol
|
||||||
|
|
||||||
CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL();
|
CONTROL_PROTOCOL_THREADS_NEED_TEMPO_MAP_DECL();
|
||||||
|
|
||||||
|
virtual bool midi_input_handler (Glib::IOCondition ioc, MIDI::Port* port);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool with_pad_filter;
|
bool with_pad_filter;
|
||||||
bool _in_use;
|
bool _in_use;
|
||||||
|
|
@ -94,7 +96,6 @@ class MIDISurface : public ARDOUR::ControlProtocol
|
||||||
virtual void handle_midi_note_off_message (MIDI::Parser&, MIDI::EventTwoBytes*) {}
|
virtual void handle_midi_note_off_message (MIDI::Parser&, MIDI::EventTwoBytes*) {}
|
||||||
virtual void handle_midi_sysex (MIDI::Parser&, MIDI::byte *, size_t) {}
|
virtual void handle_midi_sysex (MIDI::Parser&, MIDI::byte *, size_t) {}
|
||||||
|
|
||||||
virtual bool midi_input_handler (Glib::IOCondition ioc, MIDI::Port* port);
|
|
||||||
|
|
||||||
virtual void thread_init ();
|
virtual void thread_init ();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue