Somewhat primitive implementation of allowing the edit note dialog to handle multiple...
[ardour.git] / gtk2_ardour / midi_region_view.h
index 0663e75a7b4fc5ce3ac5a261ac77b42f0facdd0e..07c51800d5c01a27034dd245fcb951666ae70dd9 100644 (file)
@@ -281,6 +281,11 @@ public:
 
        void show_list_editor ();
 
+       typedef std::set<ArdourCanvas::CanvasNoteEvent*> Selection;
+       Selection selection () const {
+               return _selection;
+       }
+       
        void selection_as_notelist (Notes& selected, bool allow_all_if_none_selected = false);
 
        void enable_display (bool);
@@ -409,8 +414,7 @@ private:
        MouseState _mouse_state;
        int _pressed_button;
 
-       typedef std::set<ArdourCanvas::CanvasNoteEvent*> Selection;
-       /// Currently selected CanvasNoteEvents
+       /** Currently selected CanvasNoteEvents */
        Selection _selection;
 
        bool _sort_needed;