summaryrefslogtreecommitdiffhomepage
path: root/plugins/static-files/static-files.h
diff options
context:
space:
mode:
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;