diff options
| author | 2015-04-22 14:40:21 +0200 | |
|---|---|---|
| committer | 2015-04-22 14:40:21 +0200 | |
| commit | b36a3b448603514c392a8db8160af72788731c44 (patch) | |
| tree | 13a512fca51fb4ee91356b1997b746e353054649 /diceparser.h | |
| parent | d4c03f1eb5627294df3675de2e8e55fd721e37d8 (diff) | |
| download | OneRoll-b36a3b448603514c392a8db8160af72788731c44.tar.gz OneRoll-b36a3b448603514c392a8db8160af72788731c44.zip | |
change the way die result are transmitted to client application
Diffstat (limited to 'diceparser.h')
| -rw-r--r-- | diceparser.h | 7 |
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 |