summaryrefslogtreecommitdiff
path: root/src/master.hpp
blob: 7390b8bf799451585bc1c4fc2cd5df951e05ccd7 (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
#ifndef MASTER_HPP
#define MASTER_HPP

#include "master_content.hpp"

#include <cppcms/application.h>
    
namespace apps {

class aCms;

class master : public cppcms::application {
	protected:
		aCms &cms;
		
	public:
		master( aCms &cms );
		void ini( content::master &c );
		void register_common_pages( );
		void serve_file( std::string file_name );  
		void redirect_to_master( );
		void not_found_404( );
};

}

#endif