#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::function& GetServerParam, std::function& GetRequestParam, // request including body (POST...) std::function& SetResponseHeader // to be added to result string ); }; extern "C" BOOST_SYMBOL_EXPORT weblog_plugin webserver_plugin; weblog_plugin webserver_plugin;