aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2021-05-06 13:40:23 +0200
committerlns <matzeton@googlemail.com>2021-05-06 13:40:23 +0200
commita1dbf3f04bde8f98c11f43722e90b20dc832e78c (patch)
tree82698dc88f2770bf99841ae4db7a14ffb8a42842 /src/content
parentc0483779dac4d8fd5fcc736ae5ffa8ddede0e511 (diff)
Blog, Content, ContentManager skeleton!
Diffstat (limited to 'src/content')
-rw-r--r--src/content/blog/Blog.cpp23
-rw-r--r--src/content/blog/Blog.hpp15
2 files changed, 38 insertions, 0 deletions
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