26 lines
505 B
C++
26 lines
505 B
C++
#include "InterpreterBase.h"
|
|
#include "Constants.h"
|
|
|
|
InterpreterBase::InterpreterBase()
|
|
{
|
|
}
|
|
|
|
void InterpreterBase::ExecuteCommand(std::vector<std::string> &commandLines)
|
|
{
|
|
}
|
|
|
|
void InterpreterBase::LineDone(std::vector<std::string> &commandLines)
|
|
{
|
|
|
|
PrevCommandLine = commandLines[0];
|
|
cmd += LINE_SPLITTER;
|
|
cmd += commandLines[0];
|
|
commandLines.erase(commandLines.begin());
|
|
}
|
|
|
|
void InterpreterBase::OnOutput(const std::string &text)
|
|
{
|
|
Output += (text);
|
|
// Output.Append(Constants.LINE_SPLITTER);
|
|
}
|