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

#include <SettingControl.h>

Inheritance diagram for CSettingControlCreator:
ISettingControlCreator 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

std::shared_ptr< ISettingControlCreateControl (const std::string &controlType) const override
 Creates a new setting control of the given custom setting control type.
 
- Public Member Functions inherited from ISettingControlCreator
virtual ~ISettingControlCreator ()=default
 

Protected Member Functions

 CSettingControlCreator ()=default
 
 ~CSettingControlCreator () override=default
 

Constructor & Destructor Documentation

◆ CSettingControlCreator()

CSettingControlCreator::CSettingControlCreator ( )
protecteddefault

◆ ~CSettingControlCreator()

CSettingControlCreator::~CSettingControlCreator ( )
overrideprotecteddefault

Member Function Documentation

◆ CreateControl()

std::shared_ptr< ISettingControl > CSettingControlCreator::CreateControl ( const std::string & controlType) const
overridevirtual

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

Implements ISettingControlCreator.


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