aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/node/executionnode.h
diff options
context:
space:
mode:
Diffstat (limited to 'node/executionnode.h')
-rw-r--r--node/executionnode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/executionnode.h b/node/executionnode.h
index 59308ff..b83a6f1 100644
--- a/node/executionnode.h
+++ b/node/executionnode.h
@@ -6,6 +6,7 @@
class ExecutionNode
{
public:
+ enum ERROR_CODE {NO_ERROR,DIE_RESULT_EXPECTED,BAD_SYNTAXE};
ExecutionNode();
virtual ~ExecutionNode();
virtual void run(ExecutionNode* previous = NULL)=0;
@@ -14,9 +15,11 @@ public:
ExecutionNode* getNextNode();
virtual QString toString()const=0;
virtual qint64 getPriority() const=0;
+ virtual QList<ExecutionNode::ERROR_CODE> getErrorList();
protected:
Result* m_result;
ExecutionNode* m_nextNode;
+ QList<ExecutionNode::ERROR_CODE> m_errors;
};
#endif // EXECUTIONNODE_H