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/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ea0f333..feabb19 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,5 @@ +#include "ContentManager.hpp" +#include "content/blog/Blog.hpp" #include "EventManager.hpp" #include "Filesystem.hpp" @@ -84,6 +86,11 @@ int main(int argc, char **argv) { } fs.Scan(); + Blog blog; + + ContentManager ctmgr; + ctmgr.Register(blog); + EventManager evmgr; evmgr.setDefaultCallback(example_inja_render, {}); evmgr.Init(host, port); -- cgit v1.2.3