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

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

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

void TemplatedContent::Shutdown()
{
}

bool TemplatedContent::Render(std::string & out)
{
  out = "tmpl";

  return false;
}

void TemplatedContent::SetTemplateData(nlohmann::json & data)
{
  m_TemplateData = data;
}