diff options
author | David Robillard <d@drobilla.net> | 2009-10-26 17:24:08 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-26 17:24:08 +0000 |
commit | 8d168bda874ae05b142e122cb48407ee4e1b442d (patch) | |
tree | 0f1c6d0fb7f463b66dfc521fad2e57e661f0d6f5 /libs/ardour/ardour/playlist.h | |
parent | fa5aeb7892fb73d45782b42da731bc5a51418e79 (diff) |
Remove cyclic Source->Playlist references (and with it all dependence on Playlist from Source and children and a bunch of finicky reference managing code).
git-svn-id: svn://localhost/ardour2/branches/3.0@5925 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/playlist.h')
-rw-r--r-- | libs/ardour/ardour/playlist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/playlist.h b/libs/ardour/ardour/playlist.h index aa661b8588..693b2de2dd 100644 --- a/libs/ardour/ardour/playlist.h +++ b/libs/ardour/ardour/playlist.h @@ -109,6 +109,8 @@ class Playlist : public SessionObject, boost::shared_ptr<Playlist> copy (std::list<AudioRange>&, bool result_is_hidden = true); int paste (boost::shared_ptr<Playlist>, nframes_t position, float times); + const RegionList& region_list () const { return regions; } + RegionList* regions_at (nframes_t frame); RegionList* regions_touched (nframes_t start, nframes_t end); RegionList* regions_to_read (nframes_t start, nframes_t end); |