|
kodi
|


Public Member Functions | |
| void | OnSettingsLoaded () override |
| Settings have been loaded. More... | |
| void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override |
| The value of the given setting has changed. More... | |
| void | Initialize (const std::string &path) |
| void | UnregisterFromSettings () |
| void | Deinitialize () |
| void | SetLogLevel (int level) |
| int | GetLogLevel () |
| bool | IsLogLevelLogged (int loglevel) |
| bool | CanLogComponent (uint32_t component) const |
| Logger | GetLogger (const std::string &loggerName) |
Public Member Functions inherited from ISettingsHandler | |
| virtual bool | OnSettingsLoading () |
| Settings loading has been initiated. More... | |
| virtual bool | OnSettingsSaving () const |
| Settings saving has been initiated. More... | |
| virtual void | OnSettingsSaved () const |
| Settings have been saved. More... | |
| virtual void | OnSettingsUnloaded () |
| Setting values have been unloaded. More... | |
| virtual void | OnSettingsCleared () |
| Settings have been cleared. More... | |
Public Member Functions inherited from ISettingCallback | |
| 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 bool | OnSettingUpdate (const std::shared_ptr< CSetting > &setting, const char *oldSettingId, const TiXmlNode *oldSettingNode) |
| The given setting needs to be updated. More... | |
| virtual void | OnSettingPropertyChanged (const std::shared_ptr< const CSetting > &setting, const char *propertyName) |
| The given property of the given setting has changed. More... | |
Static Public Member Functions | |
| static void | SettingOptionsLoggingComponentsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
| template<typename... Args> | |
| static void | Log (int level, const std::string_view &format, Args &&... args) |
| template<typename... Args> | |
| static void | Log (int level, uint32_t component, const std::string_view &format, Args &&... args) |
| template<typename... Args> | |
| static void | Log (spdlog::level::level_enum level, const std::string_view &format, Args &&... args) |
| template<typename... Args> | |
| static void | Log (spdlog::level::level_enum level, uint32_t component, const std::string_view &format, Args &&... args) |
|
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.
| setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
|
overridevirtual |
Settings have been loaded.
This callback can be used to trigger loading other settings.
Reimplemented from ISettingsHandler.
1.8.13