Lv2Manager: Print issues uniq-ed

This commit is contained in:
Johannes Lorenz
2020-11-21 04:08:21 +01:00
committed by Johannes Lorenz
parent f7128700b4
commit 7a85b4d547
7 changed files with 39 additions and 16 deletions

View File

@@ -70,7 +70,7 @@ class LMMS_EXPORT Lv2ControlBase : public LinkedModelGroups
{
public:
static Plugin::PluginTypes check(const LilvPlugin* m_plugin,
std::vector<PluginIssue> &issues, bool printIssues = false);
std::vector<PluginIssue> &issues);
const LilvPlugin* getPlugin() const { return m_plugin; }

View File

@@ -61,7 +61,7 @@ class Lv2Proc : public LinkedModelGroup
{
public:
static Plugin::PluginTypes check(const LilvPlugin* plugin,
std::vector<PluginIssue> &issues, bool printIssues = false);
std::vector<PluginIssue> &issues);
/*
ctor/dtor

View File

@@ -63,6 +63,8 @@ public:
{
}
PluginIssueType type() const { return m_issueType; }
bool operator==(const PluginIssue& other) const;
bool operator<(const PluginIssue& other) const;
friend QDebug operator<<(QDebug stream, const PluginIssue& iss);
};