aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_bsplugins/src/MOTools/ILootCache.h
blob: 94769796d85341ab2ecc672e2586ef432264e7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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