2022-08-19 15:59:36 +02:00
|
|
|
// 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
|
2012-01-18 13:50:14 +01:00
|
|
|
|
|
|
|
|
#include "featureprovider.h"
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\class Core::IFeatureProvider
|
2020-06-12 16:04:30 +02:00
|
|
|
\inheaderfile coreplugin/featureprovider.h
|
2020-03-18 13:32:02 +01:00
|
|
|
\inmodule QtCreator
|
|
|
|
|
\ingroup mainclasses
|
2012-01-18 13:50:14 +01:00
|
|
|
|
2013-06-05 14:29:24 +02:00
|
|
|
\brief The IFeatureProvider class defines an interface to manage features
|
|
|
|
|
for wizards.
|
2012-01-18 13:50:14 +01:00
|
|
|
|
|
|
|
|
The features provided by an object in the object pool implementing IFeatureProvider
|
|
|
|
|
will be respected by wizards implementing IWizard.
|
|
|
|
|
|
2013-09-06 16:38:53 +02:00
|
|
|
This feature set, provided by all instances of IFeatureProvider in the
|
|
|
|
|
object pool, is checked against \c IWizard::requiredFeatures()
|
|
|
|
|
and only if all required features are available, the wizard is displayed
|
|
|
|
|
when creating a new file or project.
|
2012-01-18 13:50:14 +01:00
|
|
|
|
2013-10-29 16:30:37 +01:00
|
|
|
The QtSupport plugin creates an instance of IFeatureProvider and provides Qt specific
|
|
|
|
|
features for the available versions of Qt.
|
2012-01-18 13:50:14 +01:00
|
|
|
|
|
|
|
|
\sa Core::IWizard
|
|
|
|
|
\sa QtSupport::QtVersionManager
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\fn IFeatureProvider::~IFeatureProvider()
|
|
|
|
|
\internal
|
|
|
|
|
*/
|