aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/diceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-09-01 16:34:56 +0200
committerRenaud G <renaud@rolisteam.org>2015-09-01 16:34:56 +0200
commit7ce5a4af6fb836432eb6ce7637ea09d6a5b4e0bd (patch)
tree8762ae09c3b68a03d33895badd6e9bea8c1006ac /diceparser.h
parent28867d0554db6cc68d295e41927e31f7e27fe135 (diff)
downloadOneRoll-7ce5a4af6fb836432eb6ce7637ea09d6a5b4e0bd.tar.gz
OneRoll-7ce5a4af6fb836432eb6ce7637ea09d6a5b4e0bd.zip
add getAllDiceResult function and hasSeparator
Diffstat (limited to 'diceparser.h')
-rw-r--r--diceparser.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/diceparser.h b/diceparser.h
index 6cc6d47..3fc2cb7 100644
--- a/diceparser.h
+++ b/diceparser.h
@@ -196,6 +196,14 @@ public:
* @return
*/
QStringList getAllStringResult(bool& hasAlias);
+ /**
+ * @brief getAllDiceResult
+ * @param hasAlias
+ * @return
+ */
+ QStringList getAllDiceResult(bool& hasAlias);
+
+ bool hasSeparator()const;
private:
/**
@@ -301,6 +309,7 @@ private:
QString m_command;
ParsingToolBox* m_parsingToolbox;
QString m_helpPath;
+ bool m_currentTreeHasSeparator;
};
#endif // DICEPARSER_H