diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-09 11:38:48 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-09 11:38:48 +0200 |
commit | 2f42619303627db401e469e2fd65123cd794a378 (patch) | |
tree | fb9944f9838b9d19be3e2ce39e6be6b71f9c469c /plugins/webbox/webbox.cpp | |
parent | f5e2c43abe9477fba6255c734faf2822e7f2f9c5 (diff) |
Load only configured plugins, add plugins
Diffstat (limited to 'plugins/webbox/webbox.cpp')
-rw-r--r-- | plugins/webbox/webbox.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/webbox/webbox.cpp b/plugins/webbox/webbox.cpp new file mode 100644 index 0000000..7fe9fa7 --- /dev/null +++ b/plugins/webbox/webbox.cpp @@ -0,0 +1,26 @@ +#include "webbox.h" + +#include <iostream> + +using namespace std::string_literals; + +std::string webbox_plugin::name() +{ + return "webbox"; +} + +webbox_plugin::webbox_plugin() +{ + //std::cout << "Plugin constructor" << std::endl; +} + +webbox_plugin::~webbox_plugin() +{ + //std::cout << "Plugin destructor" << std::endl; +} + +std::string webbox_plugin::generate_page(std::string path) +{ + return "Webbox "s + path; +} + |