summaryrefslogtreecommitdiffhomepage
path: root/plugins/weblog/weblog.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/weblog/weblog.h')
-rw-r--r--plugins/weblog/weblog.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/weblog/weblog.h b/plugins/weblog/weblog.h
new file mode 100644
index 0000000..5433e1c
--- /dev/null
+++ b/plugins/weblog/weblog.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "../plugin_interface.h"
+
+class weblog_plugin: public webserver_plugin_interface
+{
+public:
+ weblog_plugin();
+ ~weblog_plugin();
+ std::string name();
+ std::string generate_page(std::string path);
+};
+
+extern "C" BOOST_SYMBOL_EXPORT weblog_plugin webserver_plugin;
+weblog_plugin webserver_plugin;