diff options
Diffstat (limited to 'node')
| -rw-r--r-- | node/executionnode.cpp | 4 | ||||
| -rw-r--r-- | node/executionnode.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/node/executionnode.cpp b/node/executionnode.cpp index a419bec..c8c62f2 100644 --- a/node/executionnode.cpp +++ b/node/executionnode.cpp @@ -29,6 +29,10 @@ void ExecutionNode::setNextNode(ExecutionNode* node) { m_nextNode = node; } +void ExecutionNode::setPreviousNode(ExecutionNode* node) +{ + m_previousNode = node; +} ExecutionNode* ExecutionNode::getNextNode() { return m_nextNode; diff --git a/node/executionnode.h b/node/executionnode.h index 7a00db8..c57b8b1 100644 --- a/node/executionnode.h +++ b/node/executionnode.h @@ -43,6 +43,7 @@ public: * @return */ virtual ExecutionNode* getPreviousNode() const; + void setPreviousNode(ExecutionNode* node); /** * @brief toString * @return |