aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_bsplugins/src/MOTools/ILootCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/installer_bsplugins/src/MOTools/ILootCache.h')
-rw-r--r--libs/installer_bsplugins/src/MOTools/ILootCache.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/libs/installer_bsplugins/src/MOTools/ILootCache.h b/libs/installer_bsplugins/src/MOTools/ILootCache.h
new file mode 100644
index 0000000..9476979
--- /dev/null
+++ b/libs/installer_bsplugins/src/MOTools/ILootCache.h
@@ -0,0 +1,29 @@
+#ifndef MOTOOLS_ILOOTCACHE_H
+#define MOTOOLS_ILOOTCACHE_H
+
+#include "Loot.h"
+
+#include <QString>
+
+namespace MOTools
+{
+
+class ILootCache
+{
+public:
+ /**
+ * @brief clear all additional information we stored on plugins
+ */
+ virtual void clearAdditionalInformation() = 0;
+
+ /**
+ * @brief adds information from a loot report
+ * @param name name of the plugin to add information about
+ * @param plugin loot report for the plugin
+ */
+ virtual void addLootReport(const QString& name, Loot::Plugin plugin) = 0;
+};
+
+} // namespace MOTools
+
+#endif // MOTOOLS_ILOOTCACHE_H