Introduce blacklisted plugins to Lv2 interface

This commit is contained in:
Johannes Lorenz
2020-11-08 01:47:17 +01:00
committed by Johannes Lorenz
parent 7dd6a39366
commit 01f2fa5c29
3 changed files with 56 additions and 0 deletions

View File

@@ -131,6 +131,11 @@ public:
}
bool isFeatureSupported(const char* featName) const;
static const std::set<const char*, Lv2Manager::CmpStr>& getPluginBlacklist()
{
return pluginBlacklist;
}
private:
// general data
bool m_debug; //!< if set, debug output will be printed
@@ -144,6 +149,9 @@ private:
// URID cache for fast URID access
Lv2UridCache m_uridCache;
// static
static const std::set<const char*, Lv2Manager::CmpStr> pluginBlacklist;
// functions
bool isSubclassOf(const LilvPluginClass *clvss, const char *uriStr);
};