summaryrefslogtreecommitdiffhomepage
path: root/plugins/static-files/static-files.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-09 11:38:48 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-09 11:38:48 +0200
commit2f42619303627db401e469e2fd65123cd794a378 (patch)
treefb9944f9838b9d19be3e2ce39e6be6b71f9c469c /plugins/static-files/static-files.h
parentf5e2c43abe9477fba6255c734faf2822e7f2f9c5 (diff)
Load only configured plugins, add plugins
Diffstat (limited to 'plugins/static-files/static-files.h')
-rw-r--r--plugins/static-files/static-files.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/static-files/static-files.h b/plugins/static-files/static-files.h
new file mode 100644
index 0000000..7ea5500
--- /dev/null
+++ b/plugins/static-files/static-files.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "../../plugin_interface.h"
+
+class static_files_plugin: public webserver_plugin_interface
+{
+public:
+ static_files_plugin();
+ ~static_files_plugin();
+ std::string name();
+ std::string generate_page(std::string path);
+};
+
+extern "C" BOOST_SYMBOL_EXPORT static_files_plugin webserver_plugin;
+static_files_plugin webserver_plugin;