aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/diceparser.h b/diceparser.h
index b4fd429..3f80acb 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -34,6 +34,11 @@
#include "parsingtoolbox.h"
#include "dicealias.h"
+
+typedef QPair<QList<quint64>,bool> DiceAndHighlight;
+typedef QList<DiceAndHighlight > ListDiceResult;
+typedef QMap<int,ListDiceResult > ExportedDiceResult;
+
class ExploseDiceNode;
/**
* @mainpage DiceParser
@@ -131,7 +136,7 @@ public:
* @brief getLastDiceResult
* @return
*/
- QString getLastDiceResult();
+ void getLastDiceResult(ExportedDiceResult& diceValues);
/**
* @brief hasIntegerResultNotInFirst
* @return