kodi
Public Member Functions | List of all members
ISettingControlCreator Class Referenceabstract

Interface for creating a new setting control of a custom setting control type. More...

#include <ISettingControlCreator.h>

Inheritance diagram for ISettingControlCreator:
Inheritance graph
[legend]

Public Member Functions

virtual std::shared_ptr< ISettingControlCreateControl (const std::string &controlType) const =0
 Creates a new setting control of the given custom setting control type. More...
 

Detailed Description

Interface for creating a new setting control of a custom setting control type.

Member Function Documentation

◆ CreateControl()

virtual std::shared_ptr<ISettingControl> ISettingControlCreator::CreateControl ( const std::string &  controlType) const
pure virtual

Creates a new setting control of the given custom setting control type.

Parameters
controlTypestring representation of the setting control type
Returns
A new setting control object of the given (custom) setting control type or nullptr if the setting control type is unknown

Implemented in CSettingsManager, CSettingControlCreator, and CGUIDialogSettingsManagerBase.


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