From 24a38b8b08914636c5fd81646460cc083df5ecb9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 5 Sep 2011 23:38:18 +0000 Subject: Add option to insert time on all a track's playlists (#4304). git-svn-id: svn://localhost/ardour2/branches/3.0@10054 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session_playlists.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs/ardour/ardour/session_playlists.h') diff --git a/libs/ardour/ardour/session_playlists.h b/libs/ardour/ardour/session_playlists.h index 96321f2f9c..5f69ba8001 100644 --- a/libs/ardour/ardour/session_playlists.h +++ b/libs/ardour/ardour/session_playlists.h @@ -42,6 +42,7 @@ class Region; class Source; class Session; class Crossfade; +class Track; class SessionPlaylists : public PBD::ScopedConnectionList { @@ -53,11 +54,12 @@ public: uint32_t source_use_count (boost::shared_ptr src) const; uint32_t region_use_count (boost::shared_ptr region) const; template void foreach (T *obj, void (T::*func)(boost::shared_ptr)); - void get (std::vector >&); + void get (std::vector >&) const; void unassigned (std::list > & list); void destroy_region (boost::shared_ptr); boost::shared_ptr find_crossfade (const PBD::ID &); void sync_all_regions_with_regions (); + std::vector > playlists_for_track (boost::shared_ptr) const; private: friend class Session; -- cgit v1.2.3