Files
qt-creator/src/plugins/coreplugin/featureprovider.cpp

38 lines
1.3 KiB
C++
Raw Normal View History

// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#include "featureprovider.h"
/*!
\class Core::IFeatureProvider
\inheaderfile coreplugin/featureprovider.h
\inmodule QtCreator
\ingroup mainclasses
\brief The IFeatureProvider class defines an interface to manage features
for wizards.
The features provided by an object in the object pool implementing IFeatureProvider
will be respected by wizards implementing IWizardFactory.
This feature set, provided by all instances of IFeatureProvider in the
object pool, is checked against \c IWizardFactory::requiredFeatures()
and only if all required features are available, the wizard is displayed
when creating a new file or project.
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.
The QtSupport plugin creates an instance of IFeatureProvider and provides Qt specific
features for the available versions of Qt.
\sa Core::IWizardFactory
*/
/*!
\fn IFeatureProvider::~IFeatureProvider()
\internal
*/