From d2f424c02eb59ef14e16ae0afca3d980d6255cf6 Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Tue, 7 Jan 2014 18:50:39 +0100 Subject: Update executionnode.h make API more generic --- node/executionnode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/node/executionnode.h b/node/executionnode.h index 2d81556..920ef56 100644 --- a/node/executionnode.h +++ b/node/executionnode.h @@ -1,7 +1,7 @@ #ifndef EXECUTIONNODE_H #define EXECUTIONNODE_H -#include "diceresult.h" +#include "result.h" class ExecutionNode { @@ -9,11 +9,11 @@ public: ExecutionNode(); virtual ~ExecutionNode(); virtual void run(ExecutionNode* previous = NULL)=0; - DiceResult* getResult(); + Result* getResult(); void setNextNode(ExecutionNode*); ExecutionNode* getNextNode(); protected: - DiceResult m_result; + Result* m_result; ExecutionNode* m_nextNode; }; -- cgit v1.2.3-70-g09d2