summaryrefslogtreecommitdiff
path: root/gtk2_ardour/mixer_strip.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/mixer_strip.h')
-rw-r--r--gtk2_ardour/mixer_strip.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/mixer_strip.h b/gtk2_ardour/mixer_strip.h
index b547e54852..651c9eace9 100644
--- a/gtk2_ardour/mixer_strip.h
+++ b/gtk2_ardour/mixer_strip.h
@@ -98,6 +98,14 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
void set_route (boost::shared_ptr<ARDOUR::Route>);
void set_button_names ();
void show_send (boost::shared_ptr<ARDOUR::Send>);
+ void revert_to_default_display ();
+
+ /** @return the delivery that is being edited using our fader; it will be the
+ * last send passed to ::show_send, or our route's main out delivery.
+ */
+ boost::shared_ptr<ARDOUR::Delivery> current_delivery () const {
+ return _current_delivery;
+ }
bool mixer_owned () const {
return _mixer_owned;
@@ -272,8 +280,6 @@ class MixerStrip : public RouteUI, public Gtk::EventBox
void set_current_delivery (boost::shared_ptr<ARDOUR::Delivery>);
boost::shared_ptr<ARDOUR::Delivery> _current_delivery;
- void revert_to_default_display ();
-
void drop_send ();
PBD::ScopedConnection send_gone_connection;