X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_channel_selector.h;h=f604d0ccd33f4e4929ad47dc92607fc58d705046;hb=162c48b84381335ff90fe64b5324467693dee736;hp=7485f96257e590e4141b602cc5dc175f128fc4a2;hpb=458c588e2c7dfe7c0e62647fb5e0d0c06cdf8f04;p=ardour.git diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index 7485f96257..f604d0ccd3 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -27,7 +27,7 @@ #include "gtkmm/button.h" #include "gtkmm/togglebutton.h" #include "gtkmm/label.h" -#include +#include "ardour/types.h" class MidiChannelSelector : public Gtk::Table @@ -53,7 +53,7 @@ class SingleMidiChannelSelector : public MidiChannelSelector public: SingleMidiChannelSelector(uint8_t active_channel = 0); - const uint8_t get_active_channel() const { return _active_channel; } + uint8_t get_active_channel() const { return _active_channel; } sigc::signal channel_selected; @@ -79,8 +79,8 @@ public: * bit 0 represents channel 0 and bit 15 represents channel 15 * */ - const uint16_t get_selected_channels() const; - void set_selected_channels(uint16_t selected_channels); + uint16_t get_selected_channels() const; + void set_selected_channels(uint16_t selected_channels); protected: ARDOUR::ChannelMode _channel_mode;