|
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 | OnSettingAction (const std::shared_ptr< const CSetting > &setting) override |
| The given setting has been activated.
|
|
void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed.
|
|
const CVideoSettings & | GetDefaultVideoSettings () const |
|
CVideoSettings & | GetDefaultVideoSettings () |
|
const CGameSettings & | GetDefaultGameSettings () const |
|
CGameSettings & | GetDefaultGameSettings () |
|
const CGameSettings & | GetCurrentGameSettings () const |
|
CGameSettings & | GetCurrentGameSettings () |
|
int | GetWatchedMode (const std::string &content) const |
| Retrieve the watched mode for the given content type.
|
|
void | SetWatchedMode (const std::string &content, WatchedMode mode) |
| Set the watched mode for the given content type.
|
|
void | CycleWatchedMode (const std::string &content) |
| Cycle the watched mode for the given content type.
|
|
void | SetMusicPlaylistRepeat (bool repeats) |
|
void | SetMusicPlaylistShuffled (bool shuffled) |
|
void | SetVideoPlaylistRepeat (bool repeats) |
|
void | SetVideoPlaylistShuffled (bool shuffled) |
|
bool | DoesMediaStartWindowed () const |
|
void | SetMediaStartWindowed (bool windowed) |
|
int | GetAdditionalSubtitleDirectoryChecked () const |
|
void | SetAdditionalSubtitleDirectoryChecked (int checked) |
|
int | GetMusicNeedsUpdate () const |
|
void | SetMusicNeedsUpdate (int version) |
|
int | GetVideoNeedsUpdate () const |
|
void | SetVideoNeedsUpdate (int version) |
|
virtual | ~ISettingCallback ()=default |
|
virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
| The value of the given setting is being changed.
|
|
virtual bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
| The given setting needs to be updated.
|
|
virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed.
|
|
Public Member Functions inherited from ISettingsHandler |
virtual | ~ISettingsHandler ()=default |
|
virtual bool | OnSettingsLoading () |
| Settings loading has been initiated.
|
|
virtual void | OnSettingsLoaded () |
| Settings have been loaded.
|
|
virtual bool | OnSettingsSaving () const |
| Settings saving has been initiated.
|
|
virtual void | OnSettingsSaved () const |
| Settings have been saved.
|
|
virtual void | OnSettingsUnloaded () |
| Setting values have been unloaded.
|
|
virtual void | OnSettingsCleared () |
| Settings have been cleared.
|
|
virtual | ~ISubSettings ()=default |
|
virtual void | Clear () |
| Clear any loaded setting values.
|
|