diff options
Diffstat (limited to 'plugins/weblog/weblog.h')
-rw-r--r-- | plugins/weblog/weblog.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/weblog/weblog.h b/plugins/weblog/weblog.h index 28b4ab3..0994b91 100644 --- a/plugins/weblog/weblog.h +++ b/plugins/weblog/weblog.h @@ -8,13 +8,15 @@ public: weblog_plugin(); ~weblog_plugin(); - std::string name(); + std::string name() override; + std::string generate_page( std::function<std::string(const std::string& key)>& GetServerParam, std::function<std::string(const std::string& key)>& GetRequestParam, // request including body (POST...) std::function<void(const std::string& key, const std::string& value)>& SetResponseHeader // to be added to result string - ); + ) override; + bool has_own_authentication() override; }; extern "C" BOOST_SYMBOL_EXPORT weblog_plugin webserver_plugin; |