From b36a3b448603514c392a8db8160af72788731c44 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 22 Apr 2015 14:40:21 +0200 Subject: change the way die result are transmitted to client application --- diceparser.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'diceparser.h') 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,bool> DiceAndHighlight; +typedef QList ListDiceResult; +typedef QMap ExportedDiceResult; + class ExploseDiceNode; /** * @mainpage DiceParser @@ -131,7 +136,7 @@ public: * @brief getLastDiceResult * @return */ - QString getLastDiceResult(); + void getLastDiceResult(ExportedDiceResult& diceValues); /** * @brief hasIntegerResultNotInFirst * @return -- cgit v1.2.3-70-g09d2