aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/highlightdice.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-01-29 01:40:46 +0100
committerRenaud G <renaud@rolisteam.org>2020-01-29 01:40:46 +0100
commitec4e06259947921b6958e3cdf27786904a79af2f (patch)
treeea3fd9964199a43217419e1317ebb4519264d8d1 /include/highlightdice.h
parent825bcda767d2bab9f470d81cd76b9e5985fbea9c (diff)
downloadOneRoll-ec4e06259947921b6958e3cdf27786904a79af2f.tar.gz
OneRoll-ec4e06259947921b6958e3cdf27786904a79af2f.zip
Output tags for dice list.
Diffstat (limited to 'include/highlightdice.h')
-rw-r--r--include/highlightdice.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/highlightdice.h b/include/highlightdice.h
index 2e8f08a..c70a371 100644
--- a/include/highlightdice.h
+++ b/include/highlightdice.h
@@ -21,6 +21,7 @@
#define HighLightDice_H
#include <QList>
+#include <QMap>
#include <QString>
class HighLightDice
@@ -44,6 +45,8 @@ public:
quint64 getFaces() const;
void setFaces(const quint64& faces);
+ QString getResultString() const;
+
private:
QList<qint64> m_result;
bool m_hasHighlight= true;
@@ -52,4 +55,7 @@ private:
quint64 m_faces;
};
+typedef QList<HighLightDice> ListDiceResult;
+typedef QMap<quint64, ListDiceResult> ExportedDiceResult;
+
#endif // HighLightDice_H