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 Content { public: explicit Blog(std::string basePath); bool Init(void); void Shutdown(void); bool Render(std::string & out); std::string const & GetBasePath() const; Redirections const & GetRedirections() const; private: std::string m_BasePath; Redirections m_Redirections; }; #endif