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

#include <ViewStateSettings.h>

Inheritance diagram for CViewStateSettings:
ISubSettings

Public Member Functions

bool Load (const TiXmlNode *settings) override
 Load settings from the given XML node.
 
bool Save (TiXmlNode *settings) const override
 Save settings to the given XML node.
 
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 ()
 
- Public Member Functions inherited from ISubSettings
virtual ~ISubSettings ()=default
 

Static Public Member Functions

static CViewStateSettingsGetInstance ()
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ CViewStateSettings() [1/2]

CViewStateSettings::CViewStateSettings ( )
protected

◆ CViewStateSettings() [2/2]

CViewStateSettings::CViewStateSettings ( const CViewStateSettings & )
protecteddelete

◆ ~CViewStateSettings()

CViewStateSettings::~CViewStateSettings ( )
overrideprotected

Member Function Documentation

◆ Clear()

void CViewStateSettings::Clear ( )
overridevirtual

Clear any loaded setting values.

Reimplemented from ISubSettings.

◆ CycleEventLevel()

void CViewStateSettings::CycleEventLevel ( )

◆ CycleSettingLevel()

void CViewStateSettings::CycleSettingLevel ( )

◆ Get() [1/2]

CViewState * CViewStateSettings::Get ( const std::string & viewState)

◆ Get() [2/2]

const CViewState * CViewStateSettings::Get ( const std::string & viewState) const

◆ GetEventLevel()

EventLevel CViewStateSettings::GetEventLevel ( ) const
inline

◆ GetInstance()

CViewStateSettings & CViewStateSettings::GetInstance ( )
static

◆ GetNextEventLevel()

EventLevel CViewStateSettings::GetNextEventLevel ( ) const

◆ GetNextSettingLevel()

SettingLevel CViewStateSettings::GetNextSettingLevel ( ) const

◆ GetSettingLevel()

SettingLevel CViewStateSettings::GetSettingLevel ( ) const
inline

◆ 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.

◆ operator=()

CViewStateSettings & CViewStateSettings::operator= ( CViewStateSettings const & )
protecteddelete

◆ 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.

◆ SetEventLevel()

void CViewStateSettings::SetEventLevel ( EventLevel eventLevel)

◆ SetSettingLevel()

void CViewStateSettings::SetSettingLevel ( SettingLevel settingLevel)

◆ SetShowHigherEventLevels()

void CViewStateSettings::SetShowHigherEventLevels ( bool showHigherEventLevels)
inline

◆ ShowHigherEventLevels()

bool CViewStateSettings::ShowHigherEventLevels ( ) const
inline

◆ ToggleShowHigherEventLevels()

void CViewStateSettings::ToggleShowHigherEventLevels ( )
inline

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