From d46acb86eaa3a94fb2dc673964271ecfe0f004dd Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 13 Mar 2012 20:14:55 +0000 Subject: redesign how XML state, bitslots and names get propagated during copying a send/port insert/return git-svn-id: svn://localhost/ardour2/branches/3.0@11669 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/send.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour/send.h') diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index c83eff65ab..dce8fd31d5 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -36,6 +36,7 @@ class Send : public Delivery { public: Send (Session&, boost::shared_ptr pannable, boost::shared_ptr, Delivery::Role r = Delivery::Send); + Send (Session&, const std::string& name, uint32_t bitslot, boost::shared_ptr pannable, boost::shared_ptr, Delivery::Role r = Delivery::Send); virtual ~Send (); uint32_t bit_slot() const { return _bitslot; } @@ -67,7 +68,8 @@ class Send : public Delivery std::string value_as_string (boost::shared_ptr) const; static uint32_t how_many_sends(); - static void make_unique (XMLNode &, Session &); + static void make_unique (XMLNode &); + static std::string name_and_id_new_send (Session&, Delivery::Role r, uint32_t&); protected: bool _metering; @@ -81,7 +83,6 @@ class Send : public Delivery int set_state_2X (XMLNode const &, int); uint32_t _bitslot; - static std::string name_and_id_new_send (Session&, Delivery::Role r, uint32_t&); }; } // namespace ARDOUR -- cgit v1.2.3