COMPASSi/trunk/code/projects/DataManager/Logic/Logic.DataManagement/Interpreters/InterpreterBase.cpp

26 lines
505 B
C++
Raw Normal View History

2025-06-25 15:06:42 +08:00
#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);
}