use new action map API instead of ActionManager::get_action
[ardour.git] / gtk2_ardour / plugin_ui.h
index 370ceba6006e3665422738a7fca764d91fa3047b..b3420f2924599cc3758aa48d37f2da1a0c1723a5 100644 (file)
@@ -72,13 +72,13 @@ namespace PBD {
 }
 
 namespace ArdourWidgets {
-       class ClickBox;
        class FastMeter;
 }
 
 class LatencyGUI;
 class ArdourWindow;
 class PluginEqGui;
+class PluginLoadStatsGui;
 class VSTPluginUI;
 
 class PlugUIBase : public virtual sigc::trackable, public PBD::ScopedConnectionList
@@ -138,6 +138,8 @@ protected:
        Gtk::Expander description_expander;
        /** an expander containing the plugin analysis graph */
        Gtk::Expander plugin_analysis_expander;
+       /** an expander containing the plugin cpu profile */
+       Gtk::Expander cpuload_expander;
        /** a button which, when clicked, opens the latency GUI */
        ArdourWidgets::ArdourButton latency_button;
        /** a button which sets all controls' automation setting to Manual */
@@ -148,13 +150,15 @@ protected:
        ArdourWidgets::ArdourButton automation_write_all_button;
        /** a button which sets all controls' automation setting to Touch */
        ArdourWidgets::ArdourButton automation_touch_all_button;
+       /** a button which sets all controls' automation setting to Latch */
+       ArdourWidgets::ArdourButton automation_latch_all_button;
 
        void set_latency_label ();
-
        LatencyGUI* latency_gui;
        ArdourWindow* latency_dialog;
 
        PluginEqGui* eqgui;
+       PluginLoadStatsGui* stats_gui;
 
        Gtk::Image* focus_out_image;
        Gtk::Image* focus_in_image;
@@ -170,6 +174,7 @@ protected:
        bool bypass_button_release(GdkEventButton*);
        void toggle_description ();
        void toggle_plugin_analysis ();
+       void toggle_cpuload_display ();
        void processor_active_changed (boost::weak_ptr<ARDOUR::Processor> p);
        void plugin_going_away ();
        void automation_state_changed ();
@@ -230,7 +235,6 @@ private:
                ArdourWidgets::ArdourButton             automate_button;
                Gtk::Label                              label;
                ArdourWidgets::ArdourDropdown*          combo;
-               ArdourWidgets::ClickBox*                clickbox;
                Gtk::FileChooserButton*                 file_button;
                ArdourWidgets::ArdourSpinner*           spin_box;