From 3a085212c939ae8c5e6022a4c9bddfb7df95400f Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Sat, 23 Nov 2019 22:35:08 -0500
Subject: added loot report to the plugin list, not used yet split
PluginList::data() into individual functions disabled loot message
processing, will use report instead
---
src/pluginlist.h | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
(limited to 'src/pluginlist.h')
diff --git a/src/pluginlist.h b/src/pluginlist.h
index 092ba378..5cbe0a17 100644
--- a/src/pluginlist.h
+++ b/src/pluginlist.h
@@ -23,6 +23,8 @@ along with Mod Organizer. If not, see .
#include
#include
#include "profile.h"
+#include "loot.h"
+
namespace MOBase { class IPluginGame; }
#include
@@ -154,6 +156,11 @@ public:
*/
void addInformation(const QString &name, const QString &message);
+ /**
+ * adds information from a loot report
+ */
+ void addLootReport(const QString& name, Loot::Plugin plugin);
+
/**
* @brief test if a plugin is enabled
*
@@ -324,6 +331,7 @@ private:
struct AdditionalInfo {
QStringList m_Messages;
+ Loot::Plugin m_Loot;
};
friend bool ByName(const ESPInfo& LHS, const ESPInfo& RHS);
@@ -372,6 +380,15 @@ private:
const MOBase::IPluginGame *m_GamePlugin;
+
+ QVariant displayData(const QModelIndex &modelIndex) const;
+ QVariant checkstateData(const QModelIndex &modelIndex) const;
+ QVariant foregroundData(const QModelIndex &modelIndex) const;
+ QVariant backgroundData(const QModelIndex &modelIndex) const;
+ QVariant fontData(const QModelIndex &modelIndex) const;
+ QVariant alignmentData(const QModelIndex &modelIndex) const;
+ QVariant tooltipData(const QModelIndex &modelIndex) const;
+ QVariant iconData(const QModelIndex &modelIndex) const;
};
#pragma warning(pop)
--
cgit v1.3.1