2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2012-01-18 13:50:14 +01:00
|
|
|
|
2016-03-18 07:55:01 +01:00
|
|
|
#pragma once
|
2012-01-18 13:50:14 +01:00
|
|
|
|
|
|
|
|
#include "core_global.h"
|
|
|
|
|
|
2020-06-26 13:59:38 +02:00
|
|
|
#include <utils/id.h>
|
2012-01-18 13:50:14 +01:00
|
|
|
|
2012-02-15 10:42:41 +01:00
|
|
|
#include <QSet>
|
|
|
|
|
#include <QStringList>
|
2012-01-18 13:50:14 +01:00
|
|
|
|
|
|
|
|
namespace Core {
|
|
|
|
|
|
|
|
|
|
class CORE_EXPORT FeatureSet;
|
|
|
|
|
|
2014-07-29 16:39:03 +02:00
|
|
|
class CORE_EXPORT IFeatureProvider
|
2012-01-18 13:50:14 +01:00
|
|
|
{
|
|
|
|
|
public:
|
2015-11-27 11:31:35 +01:00
|
|
|
virtual ~IFeatureProvider() = default;
|
|
|
|
|
|
2020-06-26 13:59:38 +02:00
|
|
|
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;
|
2012-01-18 13:50:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Core
|