summaryrefslogtreecommitdiffhomepage
path: root/plugins/static-files/static-files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/static-files/static-files.cpp')
-rw-r--r--plugins/static-files/static-files.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/static-files/static-files.cpp b/plugins/static-files/static-files.cpp
new file mode 100644
index 0000000..287c975
--- /dev/null
+++ b/plugins/static-files/static-files.cpp
@@ -0,0 +1,26 @@
+#include "static-files.h"
+
+#include <iostream>
+
+using namespace std::string_literals;
+
+std::string static_files_plugin::name()
+{
+ return "static-files";
+}
+
+static_files_plugin::static_files_plugin()
+{
+ //std::cout << "Plugin constructor" << std::endl;
+}
+
+static_files_plugin::~static_files_plugin()
+{
+ //std::cout << "Plugin destructor" << std::endl;
+}
+
+std::string static_files_plugin::generate_page(std::string path)
+{
+ return "Static Files "s + path;
+}
+