some plugin preset handling fixes from 2.X

git-svn-id: svn://localhost/ardour2/branches/3.0@6130 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2009-11-19 12:38:15 +00:00
parent b99b507be9
commit bd064938c4
3 changed files with 16 additions and 2 deletions

View File

@@ -137,6 +137,7 @@ class Plugin : public PBD::StatefulDestructible, public Latent
};
virtual std::vector<PresetRecord> get_presets();
virtual std::string current_preset() const { return std::string(); }
const PresetRecord* preset_by_label(const std::string& label);
const PresetRecord* preset_by_uri(const std::string& uri);