blob: 1de6e0f5223d5fe400edb44276f74068e3cf75d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef BLOG_H
#define BLOG_H 1
#include "../../Content.hpp"
class Blog : public TemplatedContent
{
public:
explicit Blog(std::string baseUri, std::string templatePath);
bool Init(void);
void Shutdown(void);
bool Render(RequestResponse & rr, std::string & out);
std::string const & GetBaseUri() const;
Redirections const & GetRedirections() const;
private:
std::string m_BaseUri;
Redirections m_Redirections;
};
#endif
|