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
|
|
|
|
|
|
|
|
#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
|
2023-05-26 13:57:46 +02:00
|
|
|
will be respected by wizards implementing IWizardFactory.
|
2012-01-18 13:50:14 +01:00
|
|
|
|
2013-09-06 16:38:53 +02:00
|
|
|
This feature set, provided by all instances of IFeatureProvider in the
|
2023-05-26 13:57:46 +02:00
|
|
|
object pool, is checked against \c IWizardFactory::requiredFeatures()
|
2013-09-06 16:38:53 +02:00
|
|
|
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
|
|
|
|
2023-05-26 13:57:46 +02:00
|
|
|
If you created JSON-based wizards, the feature set is checked against the
|
|
|
|
|
\c featuresRequired setting that is described in
|
|
|
|
|
\l{https://doc.qt.io/qtcreator/creator-project-wizards.html}
|
|
|
|
|
{Adding New Custom Wizards} in the \QC Manual.
|
|
|
|
|
|
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
|
|
|
|
2023-05-26 13:57:46 +02:00
|
|
|
\sa Core::IWizardFactory
|
2012-01-18 13:50:14 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
\fn IFeatureProvider::~IFeatureProvider()
|
|
|
|
|
\internal
|
|
|
|
|
*/
|