blob: 086acc7880a313731a67daaf45d95a031d3249d8 (
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
|
#ifndef BLOG_H
#define BLOG_H 1
#include "../../Content.hpp"
class Blog : public Content
{
public:
explicit Blog(std::string uriBasePath, std::string mainTemplatePath);
bool Init();
void Shutdown();
bool Render(RequestResponse & rr, RenderData & rd);
std::string const & GetUriBasePath() const;
std::string const & GetMainTemplate() const;
Redirections const & GetRedirections() const;
private:
std::string m_UriBasePath;
std::string m_MainTemplatePath;
Redirections m_Redirections;
};
#endif
|