xbmc
Public Member Functions | List of all members
CSettingCreator Class Reference
Inheritance diagram for CSettingCreator:
Inheritance graph
[legend]
Collaboration diagram for CSettingCreator:
Collaboration graph
[legend]

Public Member Functions

std::shared_ptr< CSettingCreateSetting (const std::string &settingType, const std::string &settingId, CSettingsManager *settingsManager=nullptr) const override
 Creates a new setting of the given custom setting type. More...
 

Member Function Documentation

◆ CreateSetting()

std::shared_ptr< CSetting > CSettingCreator::CreateSetting ( const std::string &  settingType,
const std::string &  settingId,
CSettingsManager settingsManager = nullptr 
) const
overridevirtual

Creates a new setting of the given custom setting type.

Parameters
settingTypestring representation of the setting type
settingIdIdentifier of the setting to be created
settingsManagerReference to the settings manager
Returns
A new setting object of the given (custom) setting type or nullptr if the setting type is unknown

Implements ISettingCreator.


The documentation for this class was generated from the following files: