From a1dbf3f04bde8f98c11f43722e90b20dc832e78c Mon Sep 17 00:00:00 2001 From: lns Date: Thu, 6 May 2021 13:40:23 +0200 Subject: Blog, Content, ContentManager skeleton! --- src/content/blog/Blog.cpp | 23 +++++++++++++++++++++++ src/content/blog/Blog.hpp | 15 +++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 src/content/blog/Blog.cpp create mode 100644 src/content/blog/Blog.hpp (limited to 'src/content/blog') diff --git a/src/content/blog/Blog.cpp b/src/content/blog/Blog.cpp new file mode 100644 index 0000000..d79f207 --- /dev/null +++ b/src/content/blog/Blog.cpp @@ -0,0 +1,23 @@ +#include "Blog.hpp" + +bool Blog::Init(std::string & basePath) +{ + (void)basePath; + + return false; +} + +void Blog::Shutdown() +{ +} + +bool Blog::Render() +{ + return false; +} + +Redirections const +Blog::GetRedirections() +{ + return Redirections(); +} diff --git a/src/content/blog/Blog.hpp b/src/content/blog/Blog.hpp new file mode 100644 index 0000000..c903a22 --- /dev/null +++ b/src/content/blog/Blog.hpp @@ -0,0 +1,15 @@ +#ifndef BLOG_H +#define BLOG_H 1 + +#include "../../Content.hpp" + +class Blog : public Content +{ +public: + bool Init(std::string & basePath); + void Shutdown(); + bool Render(); + Redirections const GetRedirections(); +}; + +#endif -- cgit v1.2.3