mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
50 lines
752 B
C++
50 lines
752 B
C++
#include "theme.h"
|
|
|
|
Theme::Theme() {
|
|
}
|
|
|
|
Theme::~Theme() {
|
|
}
|
|
|
|
THEME_CORE_STATIC_DEFINES(SiteTheme);
|
|
|
|
void SiteTheme::add_header(Request *request, std::string *output) {
|
|
output->append(
|
|
"<html>"
|
|
"<head>"
|
|
"</head>"
|
|
"<body>");
|
|
}
|
|
|
|
void SiteTheme::add_footer(Request *request, std::string *output) {
|
|
output->append(
|
|
"</body>"
|
|
"</html>");
|
|
}
|
|
|
|
void SiteTheme::render_index_page(Request *request, std::string *output) {
|
|
add_header(request, output);
|
|
|
|
output->append("<p>Test HTML Body</p>");
|
|
|
|
add_footer(request, output);
|
|
}
|
|
|
|
SiteTheme::SiteTheme() {
|
|
}
|
|
|
|
SiteTheme::~SiteTheme() {
|
|
}
|
|
|
|
TestSiteTheme::TestSiteTheme() {
|
|
}
|
|
|
|
TestSiteTheme::~TestSiteTheme() {
|
|
}
|
|
|
|
TestSiteTheme2::TestSiteTheme2() {
|
|
}
|
|
|
|
TestSiteTheme2::~TestSiteTheme2() {
|
|
}
|