28 #include <glibmm/threads.h>
62 template<
class T>
void foreach (T *obj,
void (T::*func)(std::shared_ptr<Playlist>));
63 void foreach (std::function<
void(std::shared_ptr<const Playlist>)> functor,
bool incl_unused =
true);
64 void get (std::vector<std::shared_ptr<Playlist> >&)
const;
65 void unassigned (std::list<std::shared_ptr<Playlist> > & list);
71 std::vector<std::shared_ptr<Playlist> >
get_used ()
const;
72 std::vector<std::shared_ptr<Playlist> >
get_unused ()
const;
81 bool add (std::shared_ptr<Playlist>);
82 void remove (std::shared_ptr<Playlist>);
84 void track (
bool, std::weak_ptr<Playlist>);
97 mutable Glib::Threads::Mutex
lock;
std::shared_ptr< Playlist > by_id(const PBD::ID &)
void update_orig_2X(PBD::ID, PBD::ID)
std::vector< std::shared_ptr< Playlist > > playlists_for_track(std::shared_ptr< Track >) const
void track(bool, std::weak_ptr< Playlist >)
void remove(std::shared_ptr< Playlist >)
void update_after_tempo_map_change()
bool maybe_delete_unused(std::function< int(std::shared_ptr< Playlist >)>)
void destroy_region(std::shared_ptr< Region >)
int load(Session &, const XMLNode &)
Glib::Threads::Mutex lock
PlaylistSet unused_playlists
void finish_domain_bounce(Temporal::DomainBounceInfo &)
void unassigned(std::list< std::shared_ptr< Playlist > > &list)
void find_equivalent_playlist_regions(std::shared_ptr< Region >, std::vector< std::shared_ptr< Region > > &result)
std::shared_ptr< Crossfade > find_crossfade(const PBD::ID &)
void add_state(XMLNode *, bool save_template, bool include_unused) const
uint32_t region_use_count(std::shared_ptr< Region > region) const
std::vector< std::shared_ptr< Playlist > > get_unused() const
std::vector< std::shared_ptr< Playlist > > get_used() const
void remove_weak(std::weak_ptr< Playlist >)
std::vector< std::shared_ptr< Playlist > > playlists_for_pgroup(std::string pgroup)
std::shared_ptr< Playlist > XMLPlaylistFactory(Session &, const XMLNode &)
void sync_all_regions_with_regions()
std::shared_ptr< Playlist > by_name(std::string name)
std::shared_ptr< Playlist > for_pgroup(std::string name, const PBD::ID &for_track)
bool add(std::shared_ptr< Playlist >)
uint32_t source_use_count(std::shared_ptr< const Source > src) const
uint32_t n_playlists() const
void start_domain_bounce(Temporal::DomainBounceInfo &)
void get(std::vector< std::shared_ptr< Playlist > > &) const
int load_unused(Session &, const XMLNode &)
GtkImageIconNameData name
PBD::PropertyDescriptor< bool > region
std::set< std::shared_ptr< Playlist > > PlaylistSet