aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-11-28 00:36:15 +0100
committerRenaud G <renaud@rolisteam.org>2016-11-28 00:36:15 +0100
commit13e297604b00615d47352538e3c82ea1ac700d4c (patch)
tree567efe03594d261831897f03a7821c4c6eeac59b /node/executionnode.h
parentcdd1716bd1aa8d9bbd0137aa98ff24867b6b3a0e (diff)
downloadOneRoll-13e297604b00615d47352538e3c82ea1ac700d4c.tar.gz
OneRoll-13e297604b00615d47352538e3c82ea1ac700d4c.zip
-Add API for copying a branch of execution node.
-Allow to use if node several times.
Diffstat (limited to 'node/executionnode.h')
-rw-r--r--node/executionnode.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/node/executionnode.h b/node/executionnode.h
index c015595..7a00db8 100644
--- a/node/executionnode.h
+++ b/node/executionnode.h
@@ -69,6 +69,13 @@ public:
* @return
*/
virtual QString getHelp();
+
+ /**
+ * @brief getCopy
+ * @return should return a copy of that node.
+ */
+ virtual ExecutionNode* getCopy() const = 0;
+
protected:
/**
* @brief m_nextNode