Small cleanups to port matrix context menu.
[ardour.git] / gtk2_ardour / selection.h
index 288c832178618507e6d10ed01d78b6003b495d6d..4e5f684af9a305673c33343fb62e27c5a3dbfd0c 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2003 Paul Davis 
+    Copyright (C) 2000-2003 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -57,7 +57,7 @@ namespace Evoral {
 
 /** The Selection class holds lists of selected items (tracks, regions, etc. etc.). */
 
-class Selection : public sigc::trackable 
+class Selection : public sigc::trackable
 {
   public:
        enum SelectionType {
@@ -110,7 +110,7 @@ class Selection : public sigc::trackable
        void set (std::list<Selectable*>&);
        void add (std::list<Selectable*>&);
        void toggle (std::list<Selectable*>&);
-       
+
        void set (TimeAxisView*);
        void set (const std::list<TimeAxisView*>&);
        void set (const MidiNoteSelection&);
@@ -168,7 +168,7 @@ class Selection : public sigc::trackable
        void remove (Marker*);
 
        void replace (uint32_t time_index, nframes_t start, nframes_t end);
-       
+
        void clear_regions();
        void clear_tracks ();
        void clear_time();
@@ -181,6 +181,7 @@ class Selection : public sigc::trackable
 
        void foreach_region (void (ARDOUR::Region::*method)(void));
        void foreach_regionview (void (RegionView::*method)(void));
+       void foreach_midi_regionview (void (MidiRegionView::*method)(void));
        template<class A> void foreach_region (void (ARDOUR::Region::*method)(A), A arg);
 
   private: