summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/ladspa_plugin.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-06 02:41:46 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-06 02:41:46 +0000
commit5546fa38fc0ba2d33288914d4fb40fe4d3d837bf (patch)
tree4bf6e43baf9814e39cdd51784441f42887a05c2c /libs/ardour/ardour/ladspa_plugin.h
parent433196a83ac5500291ab2dbadf15a25b1b74335d (diff)
Manage attempts to save plugin presets with the same name. Helps with #2662.
git-svn-id: svn://localhost/ardour2/branches/3.0@8191 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/ladspa_plugin.h')
-rw-r--r--libs/ardour/ardour/ladspa_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h
index 968342a909..4358de792e 100644
--- a/libs/ardour/ardour/ladspa_plugin.h
+++ b/libs/ardour/ardour/ladspa_plugin.h
@@ -99,7 +99,8 @@ class LadspaPlugin : public ARDOUR::Plugin
XMLNode& get_state();
int set_state (const XMLNode&, int version);
- bool save_preset(std::string name);
+ bool save_preset (std::string name);
+ void remove_preset (std::string name);
bool has_editor() const { return false; }