From d2fe7edb2bfea20987a1f69935179fa5fc9f3b37 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Aug 2006 22:09:30 +0000 Subject: Really close...functions are doing their stuff, we have inputs, almost have rules. --- src/rule.h | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'src/rule.h') diff --git a/src/rule.h b/src/rule.h index 065ab9e..ff251ca 100644 --- a/src/rule.h +++ b/src/rule.h @@ -2,7 +2,14 @@ #define RULE_H #include +#include +#include +class Function; +class Perform; + +typedef std::list FunctionList; +typedef std::list PerformList; class Rule { @@ -10,8 +17,30 @@ public: Rule(); virtual ~Rule(); -private: + std::string getName() + { + return sName; + } + + void setName( const std::string &sName ) + { + this->sName = sName; + } + FunctionList &getFunctionList() + { + return lFilter; + } + + PerformList &getPerformList() + { + return lPerform; + } + +private: + std::string sName; + FunctionList lFilter; + PerformList lPerform; }; #endif -- cgit v1.2.3