add dedicated API to check plugin class
[ardour.git] / libs / ardour / ardour / plugin.h
index 7bef40ab88814dc28601a4e4b931bd8d45578e3b..063335ccc3f57d3620d9d58c2f306c0b0365d307 100644 (file)
@@ -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.