diff options
Diffstat (limited to 'src/content/blog/Blog.hpp')
-rw-r--r-- | src/content/blog/Blog.hpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/content/blog/Blog.hpp b/src/content/blog/Blog.hpp new file mode 100644 index 0000000..086acc7 --- /dev/null +++ b/src/content/blog/Blog.hpp @@ -0,0 +1,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 |