summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_selection.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-27 20:21:00 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-27 20:21:00 +0000
commitf440f91849a807e9026d79c06075bbd15852cbf6 (patch)
tree5742bfbca514337cd2de0fe236a3c277b6a4e219 /gtk2_ardour/region_selection.h
parent86cb9348e829e61b7c1e324930882af147f504c9 (diff)
Try to make new layering stuff play nicely with undo.
git-svn-id: svn://localhost/ardour2/branches/3.0@11097 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_selection.h')
-rw-r--r--gtk2_ardour/region_selection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/region_selection.h b/gtk2_ardour/region_selection.h
index fd43e4626f..36e40061c1 100644
--- a/gtk2_ardour/region_selection.h
+++ b/gtk2_ardour/region_selection.h
@@ -25,6 +25,10 @@
#include "pbd/signals.h"
#include "ardour/types.h"
+namespace ARDOUR {
+ class Playlist;
+}
+
class RegionView;
class TimeAxisView;
@@ -57,6 +61,8 @@ class RegionSelection : public std::list<RegionView*>
void by_position (std::list<RegionView*>&) const;
void by_track (std::list<RegionView*>&) const;
+ std::set<boost::shared_ptr<ARDOUR::Playlist> > playlists () const;
+
private:
void remove_it (RegionView*);