diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-29 02:57:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-29 02:57:42 +0200 |
commit | e56c8f0309aa35265785f4a31fac1bd38f868fd1 (patch) | |
tree | 4a4fe4300f2db49323f0b7e81a3c06fe2764d3ce /libs/ardour/ardour/luaproc.h | |
parent | 961e7ecdc8437ecd7d9ec61060083ceb393c8be2 (diff) |
don't special case lua processors, use plugin-manager
Diffstat (limited to 'libs/ardour/ardour/luaproc.h')
-rw-r--r-- | libs/ardour/ardour/luaproc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/luaproc.h b/libs/ardour/ardour/luaproc.h index a0f49d61bb..d7c0aea5c5 100644 --- a/libs/ardour/ardour/luaproc.h +++ b/libs/ardour/ardour/luaproc.h @@ -163,7 +163,10 @@ class LIBARDOUR_API LuaPluginInfo : public PluginInfo PluginPtr load (Session& session); std::vector<Plugin::PresetRecord> get_presets (bool user_only) const; - bool is_instrument () const { return _is_instrument ; } + bool in_category (const std::string &c) const { + return (category == c); + } + bool is_instrument () const { return _is_instrument; } bool reconfigurable_io() const { return true; } bool _is_instrument; |