aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/mesonprojectmanager/project/mesonproject.h
blob: 43e78f3712c6260880cfbab666be0fec995f1069 (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
30
31
32
// Copyright (C) 2020 Alexis Jeandet.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0

#pragma once

#include "mesonprojectimporter.h"

#include <projectexplorer/project.h>
#include <projectexplorer/projectimporter.h>
#include <projectexplorer/task.h>

namespace MesonProjectManager {
namespace Internal {

class MesonProject final : public ProjectExplorer::Project
{
    Q_OBJECT
public:
    explicit MesonProject(const Utils::FilePath &path);
    ~MesonProject() final = default;

    ProjectExplorer::Tasks projectIssues(const ProjectExplorer::Kit *k) const final;
    ProjectExplorer::ProjectImporter *projectImporter() const final;

private:
    ProjectExplorer::DeploymentKnowledge deploymentKnowledge() const override;

    mutable std::unique_ptr<MesonProjectImporter> m_projectImporter;
};

} // namespace Internal
} // namespace MesonProjectManager