diff options
author | David Robillard <d@drobilla.net> | 2011-05-14 18:43:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-14 18:43:34 +0000 |
commit | 2b7f092b857df8cde0cd4680e9de55f4cb98596b (patch) | |
tree | 221203a26c8e6a5b902f55ba87c40f36f886003f /libs/ardour/ardour/ladspa_plugin.h | |
parent | c78528dcea03a61685ad0586eaa6302847af6fe9 (diff) |
Generic scale points API.
Hide scale points implementation inside specific Plugin subclass.
Don't needlessley/slowly get scale points twice for each port while building UI.
Remove dependence on specific plugin types from GenericPluginUI.
git-svn-id: svn://localhost/ardour2/branches/3.0@9511 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/ladspa_plugin.h')
-rw-r--r-- | libs/ardour/ardour/ladspa_plugin.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h index 457921cf36..c49e9d3a21 100644 --- a/libs/ardour/ardour/ladspa_plugin.h +++ b/libs/ardour/ardour/ladspa_plugin.h @@ -97,7 +97,10 @@ class LadspaPlugin : public ARDOUR::Plugin bool parameter_is_output(uint32_t) const; bool parameter_is_toggled(uint32_t) const; - int set_state (const XMLNode&, int version); + boost::shared_ptr<Plugin::ScalePoints> + get_scale_points(uint32_t port_index) const; + + int set_state (const XMLNode&, int version); bool load_preset (PresetRecord); |