diff options
author | Robin Gareus <robin@gareus.org> | 2016-01-09 15:22:16 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-01-09 15:22:16 +0100 |
commit | e6e7377cd8596f8ed8b5d39634e550a05995999b (patch) | |
tree | 88351b0e9b0325e446805be31156899d48985a2e /libs/ardour/ardour/plugin.h | |
parent | 3710a977fc396bfd279634b7fd7329a5eeeda028 (diff) |
API evolution
The Session-reference is only needed to instantiate/load the plugin.
Indexing presets is not supposed to call load() and be const WRT to
PluginInfo
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 07297c8cad..44090c3aea 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -336,7 +336,7 @@ class LIBARDOUR_API PluginInfo { virtual bool is_instrument() const; virtual bool in_category (const std::string &) const { return false; } - virtual std::vector<Plugin::PresetRecord> get_presets(Session& session) = 0; + virtual std::vector<Plugin::PresetRecord> get_presets (bool user_only) const = 0; /* NOTE: this block of virtual methods looks like the interface to a Processor, but Plugin does not inherit from Processor. |