ProjectExplorer: Split up the IOutputParser class

For symmetry with Utils::OutputFormatter.

Task-number: QTCREATORBUG-22665
Change-Id: I148fed69dba042ad3ef26e080829c31cd3f357fd
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2020-04-15 14:59:51 +02:00
parent d04597f2aa
commit 6f32538c5d
76 changed files with 345 additions and 311 deletions

View File

@@ -36,7 +36,7 @@
namespace CMakeProjectManager {
class CMAKE_EXPORT CMakeParser : public ProjectExplorer::IOutputParser
class CMAKE_EXPORT CMakeParser : public ProjectExplorer::OutputTaskParser
{
Q_OBJECT
@@ -45,8 +45,8 @@ public:
void setSourceDirectory(const QString &sourceDir);
private:
Status doHandleLine(const QString &line, Utils::OutputFormat type) override;
void doFlush() override;
Status handleLine(const QString &line, Utils::OutputFormat type) override;
void flush() override;
enum TripleLineError { NONE, LINE_LOCATION, LINE_DESCRIPTION, LINE_DESCRIPTION2 };