From 2f42619303627db401e469e2fd65123cd794a378 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 9 Apr 2020 11:38:48 +0200 Subject: Load only configured plugins, add plugins --- plugins/webbox/webbox.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/webbox/webbox.h (limited to 'plugins/webbox/webbox.h') diff --git a/plugins/webbox/webbox.h b/plugins/webbox/webbox.h new file mode 100644 index 0000000..037a725 --- /dev/null +++ b/plugins/webbox/webbox.h @@ -0,0 +1,15 @@ +#pragma once + +#include "../../plugin_interface.h" + +class webbox_plugin: public webserver_plugin_interface +{ +public: + webbox_plugin(); + ~webbox_plugin(); + std::string name(); + std::string generate_page(std::string path); +}; + +extern "C" BOOST_SYMBOL_EXPORT webbox_plugin webserver_plugin; +webbox_plugin webserver_plugin; -- cgit v1.2.3