add new SMFSource constructor to be used for existing-external files. Fixes #5919...
[ardour.git] / libs / ardour / ardour / send.h
index dce8fd31d5bc5f166ef143cc877eab07e829e196..6e2775286daea24d5de0de712ea1b1e4c8838b2c 100644 (file)
@@ -35,8 +35,7 @@ class Amp;
 class Send : public Delivery
 {
   public:
-       Send (Session&, boost::shared_ptr<Pannable> pannable, boost::shared_ptr<MuteMaster>, Delivery::Role r = Delivery::Send);
-       Send (Session&, const std::string& name, uint32_t bitslot, boost::shared_ptr<Pannable> pannable, boost::shared_ptr<MuteMaster>, Delivery::Role r = Delivery::Send);
+       Send (Session&, boost::shared_ptr<Pannable> pannable, boost::shared_ptr<MuteMaster>, Delivery::Role r = Delivery::Send, bool ignore_bitslot = false);
        virtual ~Send ();
 
        uint32_t bit_slot() const { return _bitslot; }
@@ -57,7 +56,7 @@ class Send : public Delivery
 
        void run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pframes_t nframes, bool);
 
-       bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const;
+       bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
        bool configure_io (ChanCount in, ChanCount out);
 
        void activate ();
@@ -68,8 +67,7 @@ class Send : public Delivery
        std::string value_as_string (boost::shared_ptr<AutomationControl>) const;
        
        static uint32_t how_many_sends();
-       static void make_unique (XMLNode &);
-       static std::string name_and_id_new_send (Session&, Delivery::Role r, uint32_t&);
+       static std::string name_and_id_new_send (Session&, Delivery::Role r, uint32_t&, bool);
 
   protected:
        bool _metering;
@@ -79,6 +77,7 @@ class Send : public Delivery
   private:
        /* disallow copy construction */
        Send (const Send&);
+       void panshell_changed ();
 
        int set_state_2X (XMLNode const &, int);