diff options
author | Robin Gareus <robin@gareus.org> | 2017-03-12 01:20:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-03-12 01:20:14 +0100 |
commit | 3477ecb0aa454632b39e18f024e743c2946587cb (patch) | |
tree | 16001a9164dadfa8b52982d5632c14208f1c3f7e /gtk2_ardour/region_selection.h | |
parent | 0b6e2d1e46b9dfe72fe879d2ddddafeafda07023 (diff) |
Add API to check if a given region is part of the region-selection
Diffstat (limited to 'gtk2_ardour/region_selection.h')
-rw-r--r-- | gtk2_ardour/region_selection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/region_selection.h b/gtk2_ardour/region_selection.h index 3bbbe8c307..e3bf60ee96 100644 --- a/gtk2_ardour/region_selection.h +++ b/gtk2_ardour/region_selection.h @@ -47,6 +47,7 @@ class RegionSelection : public std::list<RegionView*> void sort_by_position_and_track (); bool contains (RegionView*) const; + bool contains (boost::shared_ptr<ARDOUR::Region>) const; bool involves (const TimeAxisView&) const; void clear_all(); |