From aa3bb18b173fdd8bc7f9611f3dbe52e36cfe6215 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 10 May 2007 11:53:35 +0000 Subject: Re-work main right-click context menu to operate on the selection, and remove some confusion about what region(s) will be affected by menu selections. git-svn-id: svn://localhost/ardour2/trunk@1831 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/selection.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gtk2_ardour/selection.h') diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index 00bc6eeaaa..868163d04f 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -45,6 +45,10 @@ namespace ARDOUR { class AutomationList; } +/// Lists of selected things + +/** The Selection class holds lists of selected items (tracks, regions, etc. etc.). */ + class Selection : public sigc::trackable { public: @@ -149,6 +153,7 @@ class Selection : public sigc::trackable void clear_points (); void foreach_region (void (ARDOUR::Region::*method)(void)); + void foreach_regionview (void (RegionView::*method)(void)); template void foreach_region (void (ARDOUR::Region::*method)(A), A arg); private: -- cgit v1.2.3