debug flag for session destruction and waf option for boost SP debug
[ardour.git] / libs / ardour / ardour / playlist.h
index 01bb12db8d810bcfdd75e02ed1e1b14492a02d5c..693b2de2dd7c80cb86798dc0e9f8793dd853291d 100644 (file)
@@ -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);
@@ -124,7 +126,7 @@ class Playlist : public SessionObject,
        void foreach_region (sigc::slot<void, boost::shared_ptr<Region> >);
 
        XMLNode& get_state ();
-       int set_state (const XMLNode&, int version = 3000);
+       int set_state (const XMLNode&, int version);
        XMLNode& get_template ();
 
        sigc::signal<void,bool> InUse;