aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2016-04-13 16:23:48 +0200
committerRenaud Guezennec <renaud@rolisteam.org>2016-04-13 16:23:48 +0200
commit9311cabe959739e74b62e46563bace3ebc63e15d (patch)
treebb11fdec7c5d55d69ff84a445eb65eb671e94131 /diceparser.h
parent7d9f1e52c18b8f63e7b511bcd28e4fd4e9f0c5a7 (diff)
downloadOneRoll-9311cabe959739e74b62e46563bace3ebc63e15d.tar.gz
OneRoll-9311cabe959739e74b62e46563bace3ebc63e15d.zip
Add management for variable in DiceParser.
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/diceparser.h b/diceparser.h
index 0df633b..0757f99 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -204,6 +204,11 @@ public:
bool hasSeparator()const;
bool readIfInstruction(QString &str, ExecutionNode* &trueNode, ExecutionNode* &falseNode);
+ /**
+ * @brief setVariableDictionary
+ * @param variables
+ */
+ void setVariableDictionary(QHash<QString,QString>* variables);
private:
/**