diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-09 11:38:48 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-09 11:38:48 +0200 |
commit | 2f42619303627db401e469e2fd65123cd794a378 (patch) | |
tree | fb9944f9838b9d19be3e2ce39e6be6b71f9c469c /plugins/weblog/weblog.h | |
parent | f5e2c43abe9477fba6255c734faf2822e7f2f9c5 (diff) |
Load only configured plugins, add plugins
Diffstat (limited to 'plugins/weblog/weblog.h')
-rw-r--r-- | plugins/weblog/weblog.h | 15 |
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; |