globally remove all trailing whitespace from ardour code base.
[ardour.git] / libs / ardour / ardour / track.h
index d33e24e4e684597bb35d0d88ed4da7c3250ebbeb..2d67a0aa75e821f4b7778b480839821fee3f4c5c 100644 (file)
@@ -94,7 +94,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
         */
        virtual bool bounceable (boost::shared_ptr<Processor> endpoint, bool include_endpoint) const = 0;
        virtual boost::shared_ptr<Region> bounce (InterThreadInfo&) = 0;
-       virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&, 
+       virtual boost::shared_ptr<Region> bounce_range (framepos_t start, framepos_t end, InterThreadInfo&,
                                                        boost::shared_ptr<Processor> endpoint, bool include_endpoint) = 0;
        virtual int export_stuff (BufferSet& bufs, framepos_t start_frame, framecnt_t nframes,
                                  boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze) = 0;
@@ -107,7 +107,9 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        boost::shared_ptr<AutomationControl> rec_enable_control() { return _rec_enable_control; }
 
        bool record_enabled() const;
+       bool record_safe () const;
        void set_record_enabled (bool yn, void *src);
+       void set_record_safe (bool yn, void *src);
        void prep_record_enabled (bool yn, void *src);
 
        bool using_diskstream_id (PBD::ID) const;
@@ -143,7 +145,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        void transport_stopped_wallclock (struct tm &, time_t, bool);
        bool pending_overwrite () const;
        double speed () const;
-       void prepare_to_stop (framepos_t);
+       void prepare_to_stop (framepos_t, framepos_t);
        void set_slaved (bool);
        ChanCount n_channels ();
        framepos_t get_capture_start_frame (uint32_t n = 0) const;
@@ -165,6 +167,7 @@ class LIBARDOUR_API Track : public Route, public PublicDiskstream
        /* Emitted when our diskstream is set to use a different playlist */
        PBD::Signal0<void> PlaylistChanged;
        PBD::Signal0<void> RecordEnableChanged;
+       PBD::Signal0<void> RecordSafeChanged;
        PBD::Signal0<void> SpeedChanged;
        PBD::Signal0<void> AlignmentStyleChanged;
 
@@ -227,6 +230,7 @@ private:
        
        void diskstream_playlist_changed ();
        void diskstream_record_enable_changed ();
+       void diskstream_record_safe_changed ();
        void diskstream_speed_changed ();
        void diskstream_alignment_style_changed ();
        void parameter_changed (std::string const & p);