summaryrefslogtreecommitdiff
path: root/logbook/Multiplier.hpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2019-06-02 22:17:11 +0200
committerChristoph Berg <myon@debian.org>2019-06-02 22:17:11 +0200
commit851b658298afb9bafeda98ffbfa2ade612c656be (patch)
tree826d54e9dac4ce15fdd1b6af3360eeba7993a7d2 /logbook/Multiplier.hpp
parentb7238399ea4f1ca51d8f7b8f9220af3da0913edf (diff)
New upstream version 2.1.0~rc6+repackupstream/2.1.0_rc6+repack
Diffstat (limited to 'logbook/Multiplier.hpp')
-rw-r--r--logbook/Multiplier.hpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/logbook/Multiplier.hpp b/logbook/Multiplier.hpp
new file mode 100644
index 00000000..2271dd77
--- /dev/null
+++ b/logbook/Multiplier.hpp
@@ -0,0 +1,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