summaryrefslogtreecommitdiffhomepage
path: root/plugins/weblog/weblog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/weblog/weblog.cpp')
-rw-r--r--plugins/weblog/weblog.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/weblog/weblog.cpp b/plugins/weblog/weblog.cpp
new file mode 100644
index 0000000..ef90a53
--- /dev/null
+++ b/plugins/weblog/weblog.cpp
@@ -0,0 +1,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;
+}
+