blob: 420b589adc20852a1314acf38777e865ce0d8c5b (
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
|
// Copyright (C) 2016 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 "core_global.h"
#include <utils/id.h>
#include <QSet>
#include <QStringList>
namespace Core {
class CORE_EXPORT FeatureSet;
class CORE_EXPORT IFeatureProvider
{
public:
virtual ~IFeatureProvider() = default;
virtual QSet<Utils::Id> availableFeatures(Utils::Id id) const = 0;
virtual QSet<Utils::Id> availablePlatforms() const = 0;
virtual QString displayNameForPlatform(Utils::Id id) const = 0;
};
} // namespace Core
|