Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ISettingControlCreator Class Referenceabstract

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

#include <ISettingControlCreator.h>

Inheritance diagram for ISettingControlCreator:
CSettingControlCreator CSettingsManager ADDON::CAddonSettings CGUIDialogSettingsBase CSettings CGUIDialogSettingsManagerBase CGUIDialogAddonSettings CGUIDialogSettingsManualBase CGUIWindowSettingsCategory CGUIDialogAudioSettings CGUIDialogCMSSettings CGUIDialogContentSettings CGUIDialogInfoProviderSettings CGUIDialogLibExportSettings CGUIDialogLockSettings CGUIDialogMediaFilter CGUIDialogNetworkSetup CGUIDialogProfileSettings CGUIDialogSubtitleSettings CGUIDialogVideoSettings PERIPHERALS::CGUIDialogPeripheralSettings PVR::CGUIDialogPVRClientPriorities PVR::CGUIDialogPVRRecordingSettings PVR::CGUIDialogPVRTimerSettings

Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

◆ ~ISettingControlCreator()

virtual ISettingControlCreator::~ISettingControlCreator ( )
virtualdefault

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 CGUIDialogSettingsManagerBase, CSettingsManager, and CSettingControlCreator.


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