aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/filternode.h
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2020-03-28 01:08:11 +0000
committerRenaud Guezennec <renaud@rolisteam.org>2020-03-28 01:08:11 +0000
commit944072519b4e7bc31e93024ece61b1079f7427a5 (patch)
tree522475f7c4d5dade1c0b3482ab35d3f625b99ebe /node/filternode.h
parent932d863c2a2c9b08d8ce1f4e1041e5795daedc6d (diff)
parent088b2fa45dc2c763187109ec7d77f9eb096e498e (diff)
downloadOneRoll-944072519b4e7bc31e93024ece61b1079f7427a5.tar.gz
OneRoll-944072519b4e7bc31e93024ece61b1079f7427a5.zip
Merge branch 'repeat2' into 'master'
All new features See merge request kde/rolisteam-diceparser!4
Diffstat (limited to 'node/filternode.h')
-rw-r--r--node/filternode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/node/filternode.h b/node/filternode.h
index 77ae7b6..7af6fe2 100644
--- a/node/filternode.h
+++ b/node/filternode.h
@@ -4,7 +4,8 @@
#include "executionnode.h"
#include "result/diceresult.h"
-#include "validator.h"
+
+class ValidatorList;
class FilterNode : public ExecutionNode
{
@@ -16,7 +17,7 @@ public:
/**
* @brief setValidator
*/
- virtual void setValidator(Validator*);
+ virtual void setValidatorList(ValidatorList*);
/**
* @brief toString
* @return
@@ -32,7 +33,7 @@ public:
private:
DiceResult* m_diceResult;
- Validator* m_validator;
+ ValidatorList* m_validatorList;
bool m_eachValue;
};