summaryrefslogtreecommitdiff
path: root/src/strusCms.hpp
blob: 285f0266aac69a191896c70db097ba7c26fb94ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef STRUS_CMS_HPP
#define STRUS_CMS_HPP

#include <cppcms/application.h>  

#include "mail.hpp"
#include "intro.hpp"
#include "user.hpp"
#include "page.hpp"

namespace apps {

class strusCms : public cppcms::application {
	public:
		strusCms( cppcms::service &srv );
		std::string 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 locale_name;
};

}

#endif