Remove empty MIDI regions which result from recordings made when no MIDI data is...
[ardour.git] / libs / ardour / ardour / send.h
index 6b872df9fe0d65657560be02a2253a1fca4e3f71..a060363a238a373a78913a2b9cd48fae49975d8e 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef __ardour_send_h__
 #define __ardour_send_h__
 
-#include <sigc++/signal.h>
 #include <string>
 
 #include "pbd/stateful.h"
@@ -38,12 +37,11 @@ class Send : public Delivery
 {
   public:
        Send (Session&, boost::shared_ptr<MuteMaster>, Delivery::Role r = Delivery::Send);
-       Send (Session&, boost::shared_ptr<MuteMaster>, const XMLNode&, Delivery::Role r = Delivery::Send);
        virtual ~Send ();
 
        uint32_t bit_slot() const { return _bitslot; }
 
-       bool visible() const;
+       bool display_to_user() const;
 
        boost::shared_ptr<Amp> amp() const { return _amp; }
        boost::shared_ptr<PeakMeter> meter() const { return _meter; }
@@ -53,11 +51,11 @@ class Send : public Delivery
 
        XMLNode& state(bool full);
        XMLNode& get_state(void);
-       int set_state(const XMLNode& node);
+       int set_state(const XMLNode&, int version);
 
        uint32_t pans_required() const { return _configured_input.n_audio(); }
 
-       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes);
+       void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes, bool);
 
        bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
        bool configure_io (ChanCount in, ChanCount out);