diff options
| author | 2015-05-15 14:49:49 +0200 | |
|---|---|---|
| committer | 2015-05-15 14:49:49 +0200 | |
| commit | f8a2e958e699ca41730cb785e7284c07eaaa5a82 (patch) | |
| tree | 0fcf40cbd39840432bb61932479a5d4bb6b2d85c /parsingtoolbox.h | |
| parent | 03cae353e4a070391850118b5c7e2b5ce4c8828f (diff) | |
| download | OneRoll-f8a2e958e699ca41730cb785e7284c07eaaa5a82.tar.gz OneRoll-f8a2e958e699ca41730cb785e7284c07eaaa5a82.zip | |
add method to read dice range (a bit different from validator range)
Diffstat (limited to 'parsingtoolbox.h')
| -rw-r--r-- | parsingtoolbox.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/parsingtoolbox.h b/parsingtoolbox.h index 8958550..5d38919 100644 --- a/parsingtoolbox.h +++ b/parsingtoolbox.h @@ -115,6 +115,15 @@ public: */ DiceRollerNode* getDiceRollerNode(ExecutionNode* previous); + /** + * @brief readDiceRange + * @param str + * @param start + * @param end + * @return + */ + bool readDiceRange(QString& str,int& start, int& end); + private: QMap<QString,BooleanCondition::LogicOperator>* m_logicOp; }; |