blob: 3f1433d961287d588e335b29760008b4ed9b6179 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include "Blog.hpp"
Blog::Blog(std::string basePath) : m_BasePath(basePath), m_Redirections()
{
m_Redirections.push_back(basePath + "-data");
}
bool Blog::Init(void)
{
return true;
}
void Blog::Shutdown(void)
{
}
bool Blog::Render(std::string & out)
{
out = "blog-bla";
return true;
}
std::string const & Blog::GetBasePath(void) const
{
return m_BasePath;
}
Redirections const &
Blog::GetRedirections(void) const
{
return m_Redirections;
}
|