From bdd0f3eba5021e2a5b7fdfa0fbedf388a624b634 Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Tue, 14 Jan 2014 18:42:13 +0100 Subject: Update diceparser.h adding new methods --- diceparser.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'diceparser.h') diff --git a/diceparser.h b/diceparser.h index 434ae85..81eb207 100644 --- a/diceparser.h +++ b/diceparser.h @@ -85,7 +85,7 @@ private: * @brief readOperator * @return */ - bool readOperator(QString&); + bool readOperator(QString&,ExecutionNode* previous); /** * @brief setCurrentNode * @param node @@ -114,12 +114,15 @@ private: bool readLogicOperator(QString& str,BooleanCondition::LogicOperator& condition); + void displayResult(); + private: QMap* m_mapDiceOp; QMap* m_OptionOp; QMap* m_logicOp; ExecutionNode* m_start; ExecutionNode* m_current; + QString m_command; }; /** -- cgit v1.2.3-70-g09d2