diff options
author | randomdan <randomdan@localhost> | 2011-03-10 13:53:07 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2011-03-10 13:53:07 +0000 |
commit | ddf64c4da3152222f64fdce1de320b7f9adb1906 (patch) | |
tree | 0a622525e8603f74e7ccfda843f16bf5d8cce578 /project2/paramChecker.h | |
parent | Fix surplus local pointers causing random crashes (diff) | |
download | project2-ddf64c4da3152222f64fdce1de320b7f9adb1906.tar.bz2 project2-ddf64c4da3152222f64fdce1de320b7f9adb1906.tar.xz project2-ddf64c4da3152222f64fdce1de320b7f9adb1906.zip |
Allow scripts to propergate messages from parameter checks into the presentation layer
Also allow variables to be constructed from a child element's text
Diffstat (limited to 'project2/paramChecker.h')
-rw-r--r-- | project2/paramChecker.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/project2/paramChecker.h b/project2/paramChecker.h index 465b8e9..57addbc 100644 --- a/project2/paramChecker.h +++ b/project2/paramChecker.h @@ -3,10 +3,7 @@ #include <libxml/tree.h> #include "sourceObject.h" - -class ApplicationEngine; -class ParamChecker; -typedef boost::intrusive_ptr<ParamChecker> ParamCheckerPtr; +#include "variables.h" /// Base class for Project2 compoments that perform tests/checks class ParamChecker : public SourceObject { @@ -16,7 +13,8 @@ class ParamChecker : public SourceObject { virtual bool performCheck() const = 0; - const Glib::ustring message; + const Variable message; + const Variable group; const std::string present; }; |