From 9d867cfd87648e6b441638bda28153f5a9f02092 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 18 Nov 2015 18:11:19 +0100 Subject: add dedicated API to check plugin class --- libs/ardour/ardour/plugin.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/ardour/plugin.h') diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 7bef40ab88..063335ccc3 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -68,6 +68,7 @@ class LIBARDOUR_API PluginInfo { virtual PluginPtr load (Session& session) = 0; virtual bool is_instrument() const; + virtual bool in_category (const std::string &) const { return false; } /* NOTE: this block of virtual methods looks like the interface to a Processor, but Plugin does not inherit from Processor. -- cgit v1.2.3