bool IWizardFactory::isAvailable(const QString &platformName) const { FeatureSet availableFeatures = pluginFeatures(); foreach (const Core::IFeatureProvider *featureManager, s_providerList) availableFeatures |= featureManager->availableFeatures(platformName); return availableFeatures.contains(requiredFeatures()); }
bool IWizard::isAvailable(const QString &platformName) const { FeatureSet availableFeatures; const QList<Core::IFeatureProvider*> featureManagers = ExtensionSystem::PluginManager::getObjects<Core::IFeatureProvider>(); foreach (const Core::IFeatureProvider *featureManager, featureManagers) availableFeatures |= featureManager->availableFeatures(platformName); return availableFeatures.contains(requiredFeatures()); }