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

Public Member Functions

bool Load (const TiXmlNode *settings) override
 Load settings from the given XML node. More...
 
bool Save (TiXmlNode *settings) const override
 Save settings to the given XML node. More...
 
void Clear () override
 Clear any loaded setting values.
 
const CViewStateGet (const std::string &viewState) const
 
CViewStateGet (const std::string &viewState)
 
SettingLevel GetSettingLevel () const
 
void SetSettingLevel (SettingLevel settingLevel)
 
void CycleSettingLevel ()
 
SettingLevel GetNextSettingLevel () const
 
EventLevel GetEventLevel () const
 
void SetEventLevel (EventLevel eventLevel)
 
void CycleEventLevel ()
 
EventLevel GetNextEventLevel () const
 
bool ShowHigherEventLevels () const
 
void SetShowHigherEventLevels (bool showHigherEventLevels)
 
void ToggleShowHigherEventLevels ()
 

Static Public Member Functions

static CViewStateSettingsGetInstance ()
 

Protected Member Functions

 CViewStateSettings (const CViewStateSettings &)=delete
 
CViewStateSettingsoperator= (CViewStateSettings const &)=delete
 

Member Function Documentation

◆ Load()

bool CViewStateSettings::Load ( const TiXmlNode *  settings)
overridevirtual

Load settings from the given XML node.

Parameters
settingsXML node containing setting values
Returns
True if loading the settings was successful, false otherwise.

Reimplemented from ISubSettings.

◆ Save()

bool CViewStateSettings::Save ( TiXmlNode *  settings) const
overridevirtual

Save settings to the given XML node.

Parameters
settingsXML node in which the settings will be saved
Returns
True if saving the settings was successful, false otherwise.

Reimplemented from ISubSettings.


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