xbmc
|
Interface for creating a new setting of a custom setting type. More...
#include <ISettingCreator.h>
Public Member Functions | |
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. More... | |
Interface for creating a new setting of a custom setting type.
|
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 CSettingsManager, ADDON::CAddonSettings, and CSettingCreator.