blob: 7b7639c1003e83a3f6a2ea5fdf51d1c58c8ee57e (
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) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include <projectexplorer/kitinformation.h>
namespace McuSupport {
namespace Internal {
class McuDependenciesKitAspect final : public ProjectExplorer::KitAspect
{
Q_OBJECT
public:
McuDependenciesKitAspect();
ProjectExplorer::Tasks validate(const ProjectExplorer::Kit *kit) const override;
void fix(ProjectExplorer::Kit *kit) override;
ProjectExplorer::KitAspectWidget *createConfigWidget(ProjectExplorer::Kit *kit) const override;
ItemList toUserOutput(const ProjectExplorer::Kit *kit) const override;
static Utils::Id id();
static Utils::NameValueItems dependencies(const ProjectExplorer::Kit *kit);
static void setDependencies(ProjectExplorer::Kit *kit, const Utils::NameValueItems &dependencies);
static Utils::NameValuePairs configuration(const ProjectExplorer::Kit *kit);
};
} // namespace Internal
} // namespace McuSupport
|