summaryrefslogtreecommitdiff
path: root/logbook/Multiplier.hpp
blob: 2271dd775c1a400913f1f461d1f7b416132f5e19 (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
30
#ifndef MULTIPLIER_HPP_
#define MULTIPLIER_HPP_

#include <boost/core/noncopyable.hpp>
#include <QSet>
#include "pimpl_h.hpp"

class QString;
class AD1CCty;
class CabrilloLog;

class Multiplier final
  : private boost::noncopyable
{
public:
  using worked_item = QPair<QString, QString>;
  using worked_set = QSet<worked_item>;

  explicit Multiplier (AD1CCty const *);
  ~Multiplier ();
  void reload (CabrilloLog const *);
  worked_set const& entities_worked () const;
  worked_set const& grids_worked () const;

private:
  class impl;
  pimpl<impl> m_;
};

#endif