summaryrefslogtreecommitdiff
path: root/src/aCms.hpp
blob: f50253c8fbb1d292b6dbb5c254549e364d5d9279 (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
34
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