kodi
Public Member Functions | Static Public Member Functions | List of all members
PVR::CPVRSettings Class Reference
Inheritance diagram for PVR::CPVRSettings:
Inheritance graph
[legend]
Collaboration diagram for PVR::CPVRSettings:
Collaboration graph
[legend]

Public Member Functions

 CPVRSettings (const std::set< std::string > &settingNames)
 
void RegisterCallback (ISettingCallback *callback)
 
void UnregisterCallback (ISettingCallback *callback)
 
void OnSettingsLoaded () override
 Settings have been loaded. More...
 
void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed. More...
 
bool GetBoolValue (const std::string &settingName) const
 
int GetIntValue (const std::string &settingName) const
 
std::string GetStringValue (const std::string &settingName) const
 

Static Public Member Functions

static void MarginTimeFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int &current, void *data)
 
static bool IsSettingVisible (const std::string &condition, const std::string &value, const std::shared_ptr< const CSetting > &setting, void *data)
 
static bool CheckParentalPin (const std::string &condition, const std::string &value, const std::shared_ptr< const CSetting > &setting, void *data)
 

Member Function Documentation

◆ OnSettingChanged()

void CPVRSettings::OnSettingChanged ( const 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.

◆ OnSettingsLoaded()

void CPVRSettings::OnSettingsLoaded ( )
overridevirtual

Settings have been loaded.

This callback can be used to trigger loading other settings.

Reimplemented from ISettingsHandler.


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