Allow public access to the editor-mixer-strip

This is currently used by Mixbus to sync visibility of switches on
the editor-mixer-strip with the main mixer.
This commit is contained in:
Robin Gareus 2020-01-05 19:22:14 +01:00
parent 45dd6a8ed3
commit dba7421153
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 7 additions and 0 deletions

View File

@ -489,6 +489,10 @@ public:
void abort_reversible_command ();
void commit_reversible_command ();
MixerStrip* get_current_mixer_strip () const {
return current_mixer_strip;
}
DragManager* drags () const {
return _drags;
}

View File

@ -86,6 +86,7 @@ class DragManager;
class Editor;
class ArdourMarker;
class MeterMarker;
class MixerStrip;
class MouseCursors;
class PlaylistSelector;
class PluginSelector;
@ -446,6 +447,8 @@ public:
virtual TrackViewList axis_views_from_routes (boost::shared_ptr<ARDOUR::RouteList>) const = 0;
virtual TrackViewList const & get_track_views () const = 0;
virtual MixerStrip* get_current_mixer_strip () const = 0;
virtual DragManager* drags () const = 0;
virtual bool drag_active () const = 0;
virtual bool preview_video_drag_active () const = 0;