forked from qt-creator/qt-creator
Output parsers: Make target specific code pseudo generic
Introduce IOutputParser::setWorkingDirectory and IOutputParser::hasFatalErrors() Reviewed-By: hunger
This commit is contained in:
@@ -103,4 +103,15 @@ void IOutputParser::taskAdded(const ProjectExplorer::Task &task)
|
||||
emit addTask(task);
|
||||
}
|
||||
|
||||
bool IOutputParser::hasFatalErrors() const
|
||||
{
|
||||
return false || (m_parser && m_parser->hasFatalErrors());
|
||||
}
|
||||
|
||||
void IOutputParser::setWorkingDirectory(const QString &workingDirectory)
|
||||
{
|
||||
if (m_parser)
|
||||
m_parser->setWorkingDirectory(workingDirectory);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user