aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
committerRenaud G <renaud@rolisteam.org>2015-03-03 22:57:16 +0100
commit9f57feb3052ef74c9ee6aa08b39f04ee61f6839c (patch)
tree7628e1e7138d8314f1d87dc939a991dd5cf039ad /node/executionnode.h
parentd51884f5c6ea38f3bf06b3a0ef185056fa0a7558 (diff)
downloadOneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.tar.gz
OneRoll-9f57feb3052ef74c9ee6aa08b39f04ee61f6839c.zip
-store pointeur to previous node.
Diffstat (limited to 'node/executionnode.h')
-rw-r--r--node/executionnode.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/node/executionnode.h b/node/executionnode.h
index ef5fce8..e10ccb6 100644
--- a/node/executionnode.h
+++ b/node/executionnode.h
@@ -27,7 +27,7 @@ public:
* @brief getResult
* @return
*/
- Result* getResult();
+ virtual Result* getResult();
/**
* @brief setNextNode
*/
@@ -37,6 +37,11 @@ public:
* @return
*/
ExecutionNode* getNextNode();
+ /**
+ * @brief getPreviousNode
+ * @return
+ */
+ virtual ExecutionNode* getPreviousNode() const;
/**
* @brief toString
* @return
@@ -59,6 +64,10 @@ public:
*/
virtual QString getHelp();
protected:
+ /**
+ * @brief m_nextNode
+ */
+ ExecutionNode* m_previousNode;
/**
* @brief m_result
*/