summaryrefslogtreecommitdiffhomepage
path: root/plugin_interface.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-04 11:32:54 +0200
commit2be63668af1cadf846ae2d44a0fd5c909ceaf47e (patch)
treeaf80bc23d9b1dde815a3cf44285c6719490d282a /plugin_interface.h
parent12972923e74e3dd174f3ce3e59c2db5ca9b400eb (diff)
Add plugins
Diffstat (limited to 'plugin_interface.h')
-rw-r--r--plugin_interface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugin_interface.h b/plugin_interface.h
new file mode 100644
index 0000000..72da0b9
--- /dev/null
+++ b/plugin_interface.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include <boost/config.hpp>
+
+#include <string>
+
+class BOOST_SYMBOL_VISIBLE webserver_plugin_interface {
+public:
+ virtual std::string generate_page(std::string path) = 0;
+ virtual ~webserver_plugin_interface(){}
+};
+