aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonkitaspect.h
blob: 927a608affc668e2b9c6594dee0c016e128e4a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#pragma once

#include <projectexplorer/runconfigurationaspects.h>

namespace ProjectExplorer { class Kit; }

namespace Python {

class PythonKitAspect
{
public:
    static std::optional<ProjectExplorer::Interpreter> python(const ProjectExplorer::Kit *kit);
    static void setPython(ProjectExplorer::Kit *k, const QString &interpreterId);
    static Utils::Id id();
};

}; // namespace Python