24#ifndef MIDILEARNABLE_H
25#define MIDILEARNABLE_H
53 void setAction( std::shared_ptr<Action> pAction );
std::vector< std::pair< H2Core::MidiMessage::Event, int > > m_registeredMidiEvents
Stores all MIDI events mapped to m_pAction.
virtual void updateTooltip()
Indicates child class to recalculate its tool tip in case m_registeredMidiEvents changed.
std::shared_ptr< Action > m_pAction
std::shared_ptr< Action > getAction() const
void setAction(std::shared_ptr< Action > pAction)
void midiMapChangedEvent() override
Update m_registeredMidiEvents since the underlying #H2Core::MidiMap changed.