Continued development on Command and CommandList.

This commit is contained in:
barant committed 2020-05-04 10:04:24 -07:00
1 parent cb7a556edf
commit 63943e02dd
36 files changed
+475 -464

No files matched your search

+12
View File
@@ -2,10 +2,22 @@
#include "Log.h"
namespace core {
Command::Command() {}
Command::Command(CommandList &commandList) : commandList(commandList) {}
int Command::processCommand(std::string request, TCPSession *session, std::stringstream &data) {
return 0;
}
void grabInput() {
commandList.grapInput(this);
}
void clearGrab() {
commandList.clearGrab(this);
}
void Command::output(Session *session) {}