|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed. More...
|
|
bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) override |
| The given setting needs to be updated. More...
|
|
void | Initialize () |
|
void | DeInitialize () |
|
bool | Load () |
|
void | UnLoad () |
|
void | PlayActionSound (const CAction &action) |
|
void | PlayWindowSound (int id, WINDOW_SOUND event) |
|
void | PlayPythonSound (const std::string &strFileName, bool useCached=true) |
|
void | Enable (bool bEnable) |
|
void | SetVolume (float level) |
|
void | Stop () |
|
virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
| The value of the given setting is being changed. More...
|
|
virtual void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) |
| The given setting has been activated. More...
|
|
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed. More...
|
|
◆ OnSettingChanged()
void CGUIAudioManager::OnSettingChanged |
( |
const std::shared_ptr< const CSetting > & |
setting | ) |
|
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
- Parameters
-
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
◆ OnSettingUpdate()
bool CGUIAudioManager::OnSettingUpdate |
( |
const std::shared_ptr< CSetting > & |
setting, |
|
|
const char * |
oldSettingId, |
|
|
const TiXmlNode * |
oldSettingNode |
|
) |
| |
|
overridevirtual |
The given setting needs to be updated.
This callback is triggered when a setting needs to be updated because its value is outdated. This only happens when initially loading the value of a setting and will not be triggered afterwards.
- Parameters
-
setting | The setting which needs to be updated. |
oldSettingId | The id of the previous setting. |
oldSettingNode | The old setting node |
- Returns
- True if the setting has been successfully updated otherwise false
Reimplemented from ISettingCallback.
The documentation for this class was generated from the following files: