#include "midi_streamview.h"
#include "midi_channel_selector.h"
+namespace MIDI {
+namespace Name {
+class MasterDeviceNames;
+class CustomDeviceMode;
+}
+}
+
namespace ARDOUR {
class Session;
class RouteGroup;
void set_height (uint32_t);
- void enter_internal_edit_mode ();
- void leave_internal_edit_mode ();
+ void enter_internal_edit_mode ();
+ void leave_internal_edit_mode ();
boost::shared_ptr<ARDOUR::MidiRegion> add_region (ARDOUR::framepos_t, ARDOUR::framecnt_t, bool);
ARDOUR::NoteMode note_mode() const { return _note_mode; }
ARDOUR::ColorMode color_mode() const { return _color_mode; }
+ boost::shared_ptr<MIDI::Name::MasterDeviceNames> get_device_names();
+ boost::shared_ptr<MIDI::Name::CustomDeviceMode> get_device_mode();
+
void update_range();
sigc::signal<void, ARDOUR::ChannelMode, uint16_t>& signal_channel_mode_changed() {
Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
- StepEditor* step_editor() { return _step_editor; }
- void check_step_edit ();
+ StepEditor* step_editor() { return _step_editor; }
+ void check_step_edit ();
void first_idle ();
Gtk::Menu* build_note_mode_menu();
Gtk::Menu* build_color_mode_menu();
- boost::shared_ptr<MIDI::Name::MasterDeviceNames> get_device_names(const std::string& model);
-
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);
/** parameter -> menu item map for the controller menu */
ParameterMenuMap _controller_menu_map;
- StepEditor* _step_editor;
+ StepEditor* _step_editor;
};
#endif /* __ardour_midi_time_axis_h__ */