summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox/webbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/webbox/webbox.h')
-rw-r--r--plugins/webbox/webbox.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/webbox/webbox.h b/plugins/webbox/webbox.h
index dd2fb93..cd4e21d 100644
--- a/plugins/webbox/webbox.h
+++ b/plugins/webbox/webbox.h
@@ -18,12 +18,16 @@ private:
public:
webbox_plugin();
~webbox_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 webbox_plugin webserver_plugin;