X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fselection.h;h=5e9bc047596c013d1a9f0bd42fc3d5482c3913db;hb=29f0d9732eb68fcaa22219cedddddd47bcaa8c17;hp=a8f298434a54a6e982f9645c00954d97c3e50b61;hpb=6698f5f686bef82b0c9568558c83a3b9b3344700;p=ardour.git diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index a8f298434a..5e9bc04759 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -36,6 +36,7 @@ class TimeAxisView; class RegionView; class Selectable; +class PublicEditor; namespace ARDOUR { class Region; @@ -71,8 +72,7 @@ class Selection : public sigc::trackable PlaylistSelection playlists; PointSelection points; - Selection() { - next_time_id = 0; + Selection (PublicEditor const * e) : editor (e), next_time_id (0) { clear(); } @@ -149,7 +149,10 @@ class Selection : public sigc::trackable void foreach_regionview (void (RegionView::*method)(void)); template void foreach_region (void (ARDOUR::Region::*method)(A), A arg); + void select_edit_group_regions (); + private: + PublicEditor const * editor; uint32_t next_time_id; void add (std::vector&);