Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CDiscSettings Class Reference

#include <DiscSettings.h>

Inheritance diagram for CDiscSettings:
ISettingCallback

Public Member Functions

void OnSettingChanged (std::shared_ptr< const CSetting > setting) override
 The value of the given setting has changed. More...
 
- Public Member Functions inherited from ISettingCallback
virtual ~ISettingCallback ()=default
 
virtual bool OnSettingChanging (std::shared_ptr< const CSetting > setting)
 The value of the given setting is being changed. More...
 
virtual void OnSettingAction (std::shared_ptr< const CSetting > setting)
 The given setting has been activated. More...
 
virtual bool OnSettingUpdate (std::shared_ptr< CSetting > setting, const char *oldSettingId, const TiXmlNode *oldSettingNode)
 The given setting needs to be updated. More...
 
virtual void OnSettingPropertyChanged (std::shared_ptr< const CSetting > setting, const char *propertyName)
 The given property of the given setting has changed. More...
 

Static Public Member Functions

static CDiscSettingsGetInstance ()
 

Member Function Documentation

◆ GetInstance()

CDiscSettings & CDiscSettings::GetInstance ( )
static

◆ OnSettingChanged()

void CDiscSettings::OnSettingChanged ( std::shared_ptr< const CSetting setting)
overridevirtual

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.

Parameters
settingThe setting whose value has been changed

Reimplemented from ISettingCallback.


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