#include <IFeatureDependenciesProvider.h>
Interface for providing feature dependency information.
This interface is used to resolve feature dependencies - determining which other features must be available for a given feature to function. It also helps locate where dependency features are defined.
- See also
- IFeatureInfo, IFeatureInfoProvider
Definition at line 30 of file IFeatureDependenciesProvider.h.
◆ GetDependencyContainer()
| virtual const IFeatureInfoProvider * imtlic::IFeatureDependenciesProvider::GetDependencyContainer |
( |
const QByteArray & |
dependencyId | ) |
const |
|
pure virtual |
Get the container (provider) that hosts a specific dependency feature. This helps locate where a dependency feature is defined.
- Parameters
-
| dependencyId | ID of the dependency feature |
- Returns
- Pointer to the feature info provider containing the dependency, or nullptr if not found
◆ GetFeatureDependencies()
| virtual QByteArrayList imtlic::IFeatureDependenciesProvider::GetFeatureDependencies |
( |
const QByteArray & |
featureId | ) |
const |
|
pure virtual |
Get the list of features that a given feature depends on. These dependencies must be satisfied for the feature to function properly.
- Parameters
-
| featureId | ID of the feature to query |
- Returns
- List of feature IDs that this feature depends on