summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/featureprovider.h
blob: 28e5e1a91437f41bed3692f355b258dcc72a5f94 (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-only 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