|
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.
|
|
void | MigrateSettings (const std::shared_ptr< ADDON::CSkinInfo > &skin) |
|
int | TranslateString (const std::string &setting) |
|
const std::string & | GetString (int setting) const |
|
void | SetString (int setting, const std::string &label) |
|
int | TranslateBool (const std::string &setting) |
|
bool | GetBool (int setting) const |
|
void | SetBool (int setting, bool set) |
|
int | GetInt (int setting) const |
| Get the skin setting value as an integer value. More...
|
|
std::set< ADDON::CSkinSettingPtr > | GetSettings () const |
|
ADDON::CSkinSettingPtr | GetSetting (const std::string &settingId) |
|
std::shared_ptr< const ADDON::CSkinSetting > | GetSetting (const std::string &settingId) const |
|
void | Reset (const std::string &setting) |
|
void | Reset () |
|
◆ 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
◆ 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.
◆ 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.
The documentation for this class was generated from the following files: