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

#include <LibInputSettings.h>

Inheritance diagram for CLibInputSettings:
ISettingCallback ISettingsHandler

Public Member Functions

void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed.
 CLibInputSettings (CLibInputHandler *handler)
 ~CLibInputSettings () override
- Public Member Functions inherited from ISettingCallback
virtual ~ISettingCallback ()=default
virtual bool OnSettingChanging (const std::shared_ptr< const CSetting > &setting)
 The value of the given setting is being changed.
virtual void OnSettingAction (const std::shared_ptr< const CSetting > &setting)
 The given setting has been activated.
virtual bool OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode)
 The given setting needs to be updated.
virtual void OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName)
 The given property of the given setting has changed.
- Public Member Functions inherited from ISettingsHandler
virtual ~ISettingsHandler ()=default
virtual bool OnSettingsLoading ()
 Settings loading has been initiated.
virtual void OnSettingsLoaded ()
 Settings have been loaded.
virtual bool OnSettingsSaving () const
 Settings saving has been initiated.
virtual void OnSettingsSaved () const
 Settings have been saved.
virtual void OnSettingsUnloaded ()
 Setting values have been unloaded.
virtual void OnSettingsCleared ()
 Settings have been cleared.

Static Public Member Functions

static void SettingOptionsKeyboardLayoutsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< StringSettingOption > &list, std::string &current, void *data)

Static Public Attributes

static const std::string SETTING_INPUT_LIBINPUTKEYBOARDLAYOUT = "input.libinputkeyboardlayout"

Constructor & Destructor Documentation

◆ CLibInputSettings()

CLibInputSettings::CLibInputSettings ( CLibInputHandler * handler)

◆ ~CLibInputSettings()

CLibInputSettings::~CLibInputSettings ( )

Member Function Documentation

◆ OnSettingChanged()

void CLibInputSettings::OnSettingChanged ( const std::shared_ptr< const CSetting > & setting)

The value of the given setting has changed.

This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.

settingThe setting whose value has been changed

Reimplemented from ISettingCallback.

◆ SettingOptionsKeyboardLayoutsFiller()

void CLibInputSettings::SettingOptionsKeyboardLayoutsFiller ( const std::shared_ptr< const CSetting > & setting,
std::vector< StringSettingOption > & list,
std::string & current,
void * data )

Member Data Documentation


const std::string CLibInputSettings::SETTING_INPUT_LIBINPUTKEYBOARDLAYOUT = "input.libinputkeyboardlayout"

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