diff options
Diffstat (limited to 'plugins/statistics')
-rw-r--r-- | plugins/statistics/statistics.cpp | 5 | ||||
-rw-r--r-- | plugins/statistics/statistics.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/plugins/statistics/statistics.cpp b/plugins/statistics/statistics.cpp index 6d3899e..3ebd301 100644 --- a/plugins/statistics/statistics.cpp +++ b/plugins/statistics/statistics.cpp @@ -132,3 +132,8 @@ std::string statistics_plugin::generate_page( } } +bool statistics_plugin::has_own_authentication() +{ + return false; +} + diff --git a/plugins/statistics/statistics.h b/plugins/statistics/statistics.h index 5db309b..e998643 100644 --- a/plugins/statistics/statistics.h +++ b/plugins/statistics/statistics.h @@ -8,13 +8,14 @@ public: statistics_plugin(); ~statistics_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 statistics_plugin webserver_plugin; |