#include <SkinSettings.h>
◆ CSkinSettings() [1/2]
CSkinSettings::CSkinSettings |
( |
| ) |
|
|
protected |
◆ CSkinSettings() [2/2]
◆ ~CSkinSettings()
CSkinSettings::~CSkinSettings |
( |
| ) |
|
|
overrideprotecteddefault |
◆ Clear()
void CSkinSettings::Clear |
( |
| ) |
|
|
overridevirtual |
Clear any loaded setting values.
Reimplemented from ISubSettings.
◆ GetBool()
bool CSkinSettings::GetBool |
( |
int | setting | ) |
const |
◆ GetInstance()
◆ GetInt()
int CSkinSettings::GetInt |
( |
int | setting | ) |
const |
Get the skin setting value as an integer value.
- Parameters
-
- Returns
- the setting value as an integer, -1 if no conversion is possible
◆ GetSetting() [1/2]
◆ GetSetting() [2/2]
std::shared_ptr< const ADDON::CSkinSetting > CSkinSettings::GetSetting |
( |
const std::string & | settingId | ) |
const |
◆ GetSettings()
◆ GetString()
const std::string & CSkinSettings::GetString |
( |
int | setting | ) |
const |
◆ Load()
bool CSkinSettings::Load |
( |
const TiXmlNode * | settings | ) |
|
|
overridevirtual |
Load settings from the given XML node.
- Parameters
-
settings | XML node containing setting values |
- Returns
- True if loading the settings was successful, false otherwise.
Reimplemented from ISubSettings.
◆ MigrateSettings()
◆ operator=()
◆ Reset() [1/2]
void CSkinSettings::Reset |
( |
| ) |
|
◆ Reset() [2/2]
void CSkinSettings::Reset |
( |
const std::string & | setting | ) |
|
◆ Save()
bool CSkinSettings::Save |
( |
TiXmlNode * | settings | ) |
const |
|
overridevirtual |
Save settings to the given XML node.
- Parameters
-
settings | XML node in which the settings will be saved |
- Returns
- True if saving the settings was successful, false otherwise.
Reimplemented from ISubSettings.
◆ SetBool()
◆ SetString()
void CSkinSettings::SetString |
( |
int | setting, |
|
|
const std::string & | label ) |
◆ TranslateBool()
int CSkinSettings::TranslateBool |
( |
const std::string & | setting | ) |
|
◆ TranslateString()
int CSkinSettings::TranslateString |
( |
const std::string & | setting | ) |
|
The documentation for this class was generated from the following files: