aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/android/javaparser.h
blob: e1c2a7ba0bcd0b2d38e86cd62c5979532cf933b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright (C) 2016 BogDan Vatra <bog_dan_ro@yahoo.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <projectexplorer/ioutputparser.h>

#include <utils/filepath.h>

namespace Android::Internal {

class JavaParser : public ProjectExplorer::OutputTaskParser
{
public:
    JavaParser();

    void setProjectFileList(const Utils::FilePaths &fileList);
    void setBuildDirectory(const Utils::FilePath &buildDirectory);
    void setSourceDirectory(const Utils::FilePath &sourceDirectory);

private:
    Result handleLine(const QString &line, Utils::OutputFormat type) final;

    Utils::FilePaths m_fileList;
    Utils::FilePath m_sourceDirectory;
    Utils::FilePath m_buildDirectory;
};

} // Android::Internal