Let's make (git) history!

Tento commit je obsažen v:
2018-11-03 17:12:20 +01:00
revize 3bfebfe8a8
212 změnil soubory, kde provedl 11970 přidání a 0 odebrání

21
templatepage.h Normální soubor
Zobrazit soubor

@@ -0,0 +1,21 @@
#ifndef TEMPLATEPAGE_H
#define TEMPLATEPAGE_H
#include <string>
#include <string_view>
#include <map>
class TemplatePage
{
private:
std::string content;
std::map<std::string, std::string> varsMap;
public:
TemplatePage();
TemplatePage(std::string content);
std::string render() const;
void setVar(const std::string &key, std::string value);
};
#endif // TEMPLATEPAGE_H