send control now has working metering, and switches back and forth between busses...
[ardour.git] / gtk2_ardour / region_selection.h
index 6b5ae9c0fbf98a5a772d2d950623be66458d7c07..305fc69afd22cc0123fe78875b315e1b8c905563 100644 (file)
 #include <set>
 #include <list>
 #include <sigc++/signal.h>
-#include <ardour/types.h>
-
-using std::list;
-using std::set;
+#include "ardour/types.h"
 
 class RegionView;
+class TimeAxisView;
 
+/** Class to represent list of selected regions.
+ */
 class RegionSelection : public std::list<RegionView*>, public sigc::trackable
 {
   public:
@@ -65,10 +65,10 @@ class RegionSelection : public std::list<RegionView*>, public sigc::trackable
 
        void add_to_layer (RegionView *);
        
-       nframes_t _current_start;
-       nframes_t _current_end;
+       nframes_t _current_start; ///< start position for the selection
+       nframes_t _current_end; ///< end position for the selection
 
-       list<RegionView *> _bylayer;
+       std::list<RegionView *> _bylayer; ///< list of regions sorted by layer
 };
 
 #endif /* __ardour_gtk_region_selection_h__ */