diff options
author | Robin Gareus <robin@gareus.org> | 2019-05-25 00:12:55 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-05-25 00:12:55 +0200 |
commit | 92cfed14cf3ab5cdf2d0f5b0c5d8662aaeb73c5c (patch) | |
tree | a353d38b2e942af4e30e78c6ae89f8f884e4776d /gtk2_ardour/monitor_section.h | |
parent | ce8740cf5e45b57e4d3551689ac144076b08e336 (diff) |
Re-use the Mixer's PluginManager (singleton)
Previously there were three plugin-manager instances (two of which
were never destroyed).
There were also 3 sets of context-menus (favorites, by tag, by author..),
all of which were re-built when plugin stati changed.
Since the Plugin-manager is a modal dialog, it can be re-used in
all contexts (route-ui, monitor-section, mixer).
Diffstat (limited to 'gtk2_ardour/monitor_section.h')
-rw-r--r-- | gtk2_ardour/monitor_section.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/monitor_section.h b/gtk2_ardour/monitor_section.h index 0a0a0fd7a2..c08513717b 100644 --- a/gtk2_ardour/monitor_section.h +++ b/gtk2_ardour/monitor_section.h @@ -36,7 +36,6 @@ #include "route_ui.h" #include "monitor_selector.h" -#include "plugin_selector.h" #include "processor_box.h" #include "processor_selection.h" @@ -44,6 +43,8 @@ namespace ArdourWidgets { class TearOff; } +class PluginSelector; + class MonitorSection : public RouteUI, public Gtk::EventBox { public: @@ -56,7 +57,7 @@ public: std::string state_id() const; - PluginSelector* plugin_selector() { return _plugin_selector; } + PluginSelector* plugin_selector(); void use_others_actions (); @@ -177,7 +178,6 @@ private: void route_property_changed (const PBD::PropertyChange&) {} ProcessorBox* insert_box; - PluginSelector* _plugin_selector; ProcessorSelection _rr_selection; void help_count_processors (boost::weak_ptr<ARDOUR::Processor> p, uint32_t* cnt) const; uint32_t count_processors (); |