Small cleanup: add constructor to InterThreadInfo.
[ardour.git] / libs / ardour / ardour / audioplaylist.h
index 32fc77f2d655d1c7b35ddf47bf15b94314d3a859..b53f3c1f7317d0578336913df0a6af169f287d95 100644 (file)
@@ -50,11 +50,11 @@ class AudioPlaylist : public ARDOUR::Playlist
 
         nframes_t read (Sample *dst, Sample *mixdown, float *gain_buffer, nframes_t start, nframes_t cnt, uint32_t chan_n=0);
 
-       int set_state (const XMLNode&);
+       int set_state (const XMLNode&, int version);
 
-       sigc::signal<void,boost::shared_ptr<Crossfade> > NewCrossfade;
-
-       void foreach_crossfade (sigc::slot<void, boost::shared_ptr<Crossfade> >);
+       PBD::Signal1<void,boost::shared_ptr<Crossfade> >  NewCrossfade;
+       
+       void foreach_crossfade (boost::function<void (boost::shared_ptr<Crossfade>)>);
        void crossfades_at (nframes_t frame, Crossfades&);
 
        bool destroy_region (boost::shared_ptr<Region>);
@@ -79,8 +79,8 @@ class AudioPlaylist : public ARDOUR::Playlist
        XMLNode& state (bool full_state);
        void dump () const;
 
-       bool region_changed (Change, boost::shared_ptr<Region>);
-       void crossfade_changed (Change);
+       bool region_changed (const PBD::PropertyChange&, boost::shared_ptr<Region>);
+       void crossfade_changed (const PBD::PropertyChange&);
        void add_crossfade (boost::shared_ptr<Crossfade>);
 
        void source_offset_changed (boost::shared_ptr<AudioRegion> region);