28 lines
568 B
C++
28 lines
568 B
C++
#include "Command.h"
|
|
#include "Log.h"
|
|
#include "CommandList.h"
|
|
|
|
namespace core {
|
|
|
|
int Command::processCommand(coreutils::ZString &request, TCPSession &session) {
|
|
return 0;
|
|
}
|
|
|
|
void Command::output(std::stringstream &out) {
|
|
out << "Write your own command description here for the help system." << std::endl;
|
|
}
|
|
|
|
bool Command::check(coreutils::ZString &request) {
|
|
return request[0].equals(name);
|
|
}
|
|
|
|
void Command::setName(std::string name) {
|
|
this->name = name;
|
|
}
|
|
|
|
std::string Command::getName() {
|
|
return name;
|
|
}
|
|
|
|
}
|