diff options
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 7 |
1 files changed, 5 insertions, 2 deletions
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<class A> 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<AutomationSelectable*>&); |