#ifndef COMMANDMANAGER_H #define COMMANDMANAGER_H #include #include #include "server/commands/BaseCommand.h" #include using namespace std; class CommandManager { public: CommandManager(); virtual ~CommandManager(); void execute(ICommandSource& cs, const string& rawCommand) const; private: unordered_map> commands; void registerCommand(BaseCommand* command); }; #endif