Continued restructing.

This commit is contained in:
barant committed 2019-09-13 09:16:55 -07:00
1 parent 5e5e626d28
commit a46db126e9
294 files changed
+2455 -2189

No files matched your search

+1 -3
View File
@@ -1,4 +1,4 @@
#include "CommandList.h"
#include "CommandList.h"\
namespace core {
@@ -9,7 +9,6 @@ namespace core {
void CommandList::add(Command &command, std::string name) {
command.setName(name);
commands.push_back(&command);
}
void CommandList::remove(Command &command) {
@@ -17,7 +16,6 @@ namespace core {
}
bool CommandList::processRequest(std::string request, Session *session, std::stringstream &data) {
for(auto *command : commands) {
if(command->check(request)) {
command->processCommand(request, session, data);