add management commands (add to admin or moderator list)

This commit is contained in:
2023-12-05 19:45:04 +01:00
parent b0b117e615
commit 92cf42ead5
4 changed files with 161 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#pragma once
#include <solanaceae/contact/contact_model3.hpp>
#include <solanaceae/message3/registry_message_model.hpp>
// fwd
class MessageCommandDispatcher;
struct ConfigModelI;
void registerManagementCommands(
MessageCommandDispatcher& mcd,
ConfigModelI& conf,
Contact3Registry& cr,
RegistryMessageModel& rmm
);