From 13e297604b00615d47352538e3c82ea1ac700d4c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Mon, 28 Nov 2016 00:36:15 +0100 Subject: -Add API for copying a branch of execution node. -Allow to use if node several times. --- node/paintnode.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'node/paintnode.h') diff --git a/node/paintnode.h b/node/paintnode.h index 52a9ddb..ffd8ae1 100644 --- a/node/paintnode.h +++ b/node/paintnode.h @@ -40,7 +40,9 @@ private: int m_colorNumber; QString m_color; }; - +/** + * @brief The PainterNode class means to manage color attribute of dice. + */ class PainterNode : public ExecutionNode { public: @@ -51,6 +53,7 @@ public: virtual QString toString(bool )const; virtual qint64 getPriority() const; void insertColorItem(QString color, int value); + virtual ExecutionNode *getCopy() const; protected: QList m_colors; }; -- cgit v1.2.3-70-g09d2