summaryrefslogtreecommitdiff
path: root/gtk2_ardour/lv2_plugin_ui.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-13 22:05:26 +0000
committerDavid Robillard <d@drobilla.net>2008-11-13 22:05:26 +0000
commit427631a3f072274811c338100a0a658f025ddcd6 (patch)
tree871d572cf727e4c84f23ddbea61be1eafecb321d /gtk2_ardour/lv2_plugin_ui.h
parent963a390bea8f52c1aadbebc4e9c7851642fdc06e (diff)
Apply LV2 port notification fix (for GUI updating) from kfoltman.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4156 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.h')
-rw-r--r--gtk2_ardour/lv2_plugin_ui.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.h b/gtk2_ardour/lv2_plugin_ui.h
index 5946d8bd77..1af023974c 100644
--- a/gtk2_ardour/lv2_plugin_ui.h
+++ b/gtk2_ardour/lv2_plugin_ui.h
@@ -47,13 +47,15 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox
gint get_preferred_height ();
gint get_preferred_width ();
- bool start_updating(GdkEventAny*) {return false;}
- bool stop_updating(GdkEventAny*) {return false;}
+ bool start_updating(GdkEventAny*);
+ bool stop_updating(GdkEventAny*);
int package (Gtk::Window&);
private:
boost::shared_ptr<ARDOUR::LV2Plugin> _lv2;
+ std::vector<int> _output_ports;
+ sigc::connection _screen_update_connection;
Gtk::Widget* _gui_widget;
SLV2UIInstance _inst;
@@ -69,6 +71,8 @@ class LV2PluginUI : public PlugUIBase, public Gtk::VBox
void parameter_changed(uint32_t, float);
bool configure_handler (GdkEventConfigure*);
void save_plugin_setting ();
+ void output_update();
+ bool is_update_wanted(uint32_t index);
};
#endif // HAVE_LV2