xbmc
Public Member Functions | List of all members
ISubSettings Class Reference

Interface defining methods to load additional setting values from an XML file being loaded by the settings system. More...

#include <ISubSettings.h>

Inheritance diagram for ISubSettings:
Inheritance graph
[legend]

Public Member Functions

virtual bool Load (const TiXmlNode *settings)
 Load settings from the given XML node. More...
 
virtual bool Save (TiXmlNode *settings) const
 Save settings to the given XML node. More...
 
virtual void Clear ()
 Clear any loaded setting values.
 

Detailed Description

Interface defining methods to load additional setting values from an XML file being loaded by the settings system.

Member Function Documentation

◆ Load()

virtual bool ISubSettings::Load ( const TiXmlNode *  settings)
inlinevirtual

Load settings from the given XML node.

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

Reimplemented in CSysInfo, CMediaSettings, CDisplaySettings, CViewStateSettings, CApplicationSettingsHandling, and CSkinSettings.

◆ Save()

virtual bool ISubSettings::Save ( TiXmlNode *  settings) const
inlinevirtual

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 in CSettings, CSysInfo, CMediaSettings, CDisplaySettings, CViewStateSettings, CApplicationSettingsHandling, and CSkinSettings.


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