summaryrefslogtreecommitdiffhomepage
path: root/plugins/weblog/weblog.cpp
blob: ef90a5374a5df712b0cee0eb9987e72d3689da4f (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 "weblog.h"

#include <iostream>

using namespace std::string_literals;

std::string weblog_plugin::name()
{
 return "weblog";
}

weblog_plugin::weblog_plugin()
{
 //std::cout << "Plugin constructor" << std::endl;
}

weblog_plugin::~weblog_plugin()
{
 //std::cout << "Plugin destructor" << std::endl;
}

std::string weblog_plugin::generate_page(std::string path)
{
 return "Blog "s + path;
}