Continued development on Command and CommandList.
This commit is contained in:
1 parent
cb7a556edf
commit
63943e02dd
36 files changed
+475
-464
No files matched your search
+12
@@ -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) {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user