summaryrefslogtreecommitdiff
path: root/src/aCms.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/aCms.hpp')
-rw-r--r--src/aCms.hpp35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/aCms.hpp b/src/aCms.hpp
new file mode 100644
index 0000000..f50253c
--- /dev/null
+++ b/src/aCms.hpp
@@ -0,0 +1,35 @@
+#ifndef ACMS_HPP
+#define ACMS_HPP
+
+#include <cppcms/application.h>
+
+#include "mail.hpp"
+#include "intro.hpp"
+#include "user.hpp"
+#include "page.hpp"
+
+namespace apps {
+
+class aCms : public cppcms::application {
+ public:
+ aCms( cppcms::service &srv );
+ std::string root( std::string locale_name = "" );
+ std::string media_root( std::string locale_name = "" );
+
+ public:
+ apps::master master;
+ apps::intro intro;
+ apps::user user;
+ apps::page page;
+ std::string conn;
+ mailer mail;
+
+ private:
+ std::string script;
+ std::string media;
+ std::string locale_name;
+};
+
+}
+
+#endif