Allow to send Immediate Patch Changes
[ardour.git] / gtk2_ardour / midi_time_axis.h
index 9f3ef78e5bac86a4b3780ddb84f196df8d6acd04..ffbbeb62a22e0f6f2ea03582c13480851d3d11be 100644 (file)
@@ -45,6 +45,7 @@ namespace MIDI {
 namespace Name {
 class MasterDeviceNames;
 class CustomDeviceMode;
+struct PatchPrimaryKey;
 }
 }
 
@@ -134,10 +135,12 @@ private:
        void build_automation_action_menu (bool);
        Gtk::Menu* build_note_mode_menu();
        Gtk::Menu* build_color_mode_menu();
+       Gtk::Menu* build_patch_menu();
 
        void set_note_mode (ARDOUR::NoteMode mode, bool apply_to_selection = false);
        void set_color_mode (ARDOUR::ColorMode, bool force = false, bool redisplay = true, bool apply_to_selection = false);
        void set_note_range (MidiStreamView::VisibleNoteRange range, bool apply_to_selection = false);
+       void on_patch_menu_selected (int chn, const MIDI::Name::PatchPrimaryKey& key);
 
        void route_active_changed ();
        void note_range_changed ();