summaryrefslogtreecommitdiff
path: root/src/Content.cpp
blob: b2977bb5d311455c35ad72f4dc42c154906e1082 (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
#include "Content.hpp"

TemplatedContent::TemplatedContent(std::string filesystemPath) : m_FilesystemPath(filesystemPath)
{
}

bool TemplatedContent::Init()
{
  return false;
}

void TemplatedContent::Shutdown()
{
}

bool TemplatedContent::Render(RequestResponse & rr, std::string & out)
{
  (void)rr;

  out = "tmpl";

  return false;
}

void TemplatedContent::GetRequiredFiles(std::vector<std::string> & requiredFiles) const
{
  requiredFiles.push_back(m_FilesystemPath);
}