summaryrefslogtreecommitdiffhomepage
path: root/plugins/webbox/webbox.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-13 16:16:06 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-13 16:16:06 +0200
commit5b3022c4a0e81ff23ce4ebc2ec7b03e32f7a719e (patch)
tree3f58cc9b9a161e89d0d8e341473714a2acf5ed08 /plugins/webbox/webbox.h
parent4732dc63657f4c6fc342f7674f7dc7c666b293dc (diff)
webbox (WIP)
Diffstat (limited to 'plugins/webbox/webbox.h')
-rw-r--r--plugins/webbox/webbox.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/webbox/webbox.h b/plugins/webbox/webbox.h
index e2644f3..dd2fb93 100644
--- a/plugins/webbox/webbox.h
+++ b/plugins/webbox/webbox.h
@@ -6,11 +6,15 @@
#include <string>
#include <unordered_map>
+class Command;
+
class webbox_plugin: public webserver_plugin_interface
{
private:
std::unordered_map<std::string, std::shared_ptr<Command>> m_commands;
+ void registerCommand(std::shared_ptr<Command>);
+
public:
webbox_plugin();
~webbox_plugin();