Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface for creating a new setting of a custom setting type. More...
#include <ISettingCreator.h>
Public Member Functions | |
virtual | ~ISettingCreator ()=default |
virtual std::shared_ptr< CSetting > | CreateSetting (const std::string &settingType, const std::string &settingId, CSettingsManager *settingsManager=nullptr) const =0 |
Creates a new setting of the given custom setting type. | |
Interface for creating a new setting of a custom setting type.
|
virtualdefault |
|
pure virtual |
Creates a new setting of the given custom setting type.
settingType | string representation of the setting type |
settingId | Identifier of the setting to be created |
settingsManager | Reference to the settings manager |
Implemented in ADDON::CAddonSettings, CSettingCreator, and CSettingsManager.