1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef NINJAPARSER_H
6#define NINJAPARSER_H
7
8#include "services/builder/ioutputparser.h"
9
10class NinjaParser : public IOutputParser
11{
12 Q_OBJECT
13
14public:
15 explicit NinjaParser();
16
17 void stdOutput(const QString &line, OutputPane::OutputFormat format) override;
18 void stdError(const QString &line) override;
19 void taskAdded(const Task &task, int linkedLines, int skippedLines) override;
20
21private:
22
23};
24
25#endif // NINJAPARSER_H
26