diff options
author | randomdan <randomdan@localhost> | 2010-06-18 23:41:55 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-06-18 23:41:55 +0000 |
commit | 83a6081b5773abd18db2c9bfa9d0398fbdefde2c (patch) | |
tree | 4b92b5fa946c04db4824c1f85303411192931133 /project2/sqlCheck.h | |
parent | Add support for composing Glib::ustrings from columns (diff) | |
download | project2-83a6081b5773abd18db2c9bfa9d0398fbdefde2c.tar.bz2 project2-83a6081b5773abd18db2c9bfa9d0398fbdefde2c.tar.xz project2-83a6081b5773abd18db2c9bfa9d0398fbdefde2c.zip |
Use cgicc, add checks, tasks, dynamic loader, atom feed, login page
Diffstat (limited to 'project2/sqlCheck.h')
-rw-r--r-- | project2/sqlCheck.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/project2/sqlCheck.h b/project2/sqlCheck.h new file mode 100644 index 0000000..a5a5ae0 --- /dev/null +++ b/project2/sqlCheck.h @@ -0,0 +1,22 @@ +#ifndef SQLCHECK_H +#define SQLCHECK_H + +#include "paramChecker.h" +#include "iHaveParameters.h" + +class _SqlCheck : public IHaveParameters, public _ParamChecker { + public: + _SqlCheck(const xmlpp::Element * p); + virtual ~_SqlCheck(); + + bool performCheck(const ApplicationEngine *) const; + + const std::string dataSource; + const Glib::ustring sql; + const std::string testOp; + const double testValue; +}; +typedef boost::shared_ptr<_SqlCheck> SqlCheck; +typedef std::map<std::string, SqlCheck> SqlChecks; + +#endif |