replace unicode dash with (monospace) minus.
[ardour.git] / gtk2_ardour / midi_time_axis.h
index 635d529d34a94439ac1c0cfede8d64bc7f9199ee..1f179baca67cfa25548181524c920920d940ad17 100644 (file)
 #include "midi_streamview.h"
 #include "midi_channel_selector.h"
 
+namespace MIDI {
+namespace Name {
+class MasterDeviceNames;
+class CustomDeviceMode;
+}
+}
+
 namespace ARDOUR {
        class Session;
        class RouteGroup;
@@ -68,8 +75,8 @@ class MidiTimeAxisView : public RouteTimeAxisView
 
        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);
 
@@ -80,6 +87,9 @@ class MidiTimeAxisView : public RouteTimeAxisView
        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() {
@@ -90,8 +100,8 @@ class MidiTimeAxisView : public RouteTimeAxisView
 
        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 ();
 
@@ -112,8 +122,6 @@ class MidiTimeAxisView : public RouteTimeAxisView
        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);
@@ -167,7 +175,7 @@ class MidiTimeAxisView : public RouteTimeAxisView
        /** parameter -> menu item map for the controller menu */
        ParameterMenuMap _controller_menu_map;
 
-        StepEditor* _step_editor;
+       StepEditor* _step_editor;
 };
 
 #endif /* __ardour_midi_time_axis_h__ */