diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-07 02:56:11 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-07 02:56:11 +0000 |
commit | 40c162d6096f9bb338b602fb7845234133285411 (patch) | |
tree | 04780c7e06b050191fac93ed778ec330e842361e /libs/ardour/ardour/ladspa_plugin.h | |
parent | 25a702798e7fc2f3875208ceb67e0b6a7dfb1715 (diff) |
Move RDF-based preset stuff into LadspaPlugin, to make way for a set of evil hacks to make VST chunk-based presets work (for some values of `work').
May fix #3577.
git-svn-id: svn://localhost/ardour2/branches/3.0@8202 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/ladspa_plugin.h')
-rw-r--r-- | libs/ardour/ardour/ladspa_plugin.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h index 4358de792e..7d561dd0a8 100644 --- a/libs/ardour/ardour/ladspa_plugin.h +++ b/libs/ardour/ardour/ladspa_plugin.h @@ -99,8 +99,9 @@ class LadspaPlugin : public ARDOUR::Plugin XMLNode& get_state(); int set_state (const XMLNode&, int version); - bool save_preset (std::string name); - void remove_preset (std::string name); + + std::vector<PresetRecord> get_presets (); + bool load_preset (const std::string& uri); bool has_editor() const { return false; } @@ -134,6 +135,11 @@ class LadspaPlugin : public ARDOUR::Plugin void run_in_place (pframes_t nsamples); void latency_compute_run (); int set_state_2X (const XMLNode&, int version); + std::string do_save_preset (std::string name); + void do_remove_preset (std::string name); + std::string preset_envvar () const; + std::string preset_source (std::string) const; + bool write_preset_file (std::string); }; class LadspaPluginInfo : public PluginInfo { |