#include <AddonSystemSettings.h>
◆ GetActive()
◆ GetAddonAutoUpdateMode()
int ADDON::CAddonSystemSettings::GetAddonAutoUpdateMode |
( |
| ) |
const |
Gets Kodi addon auto update mode
- Returns
- the autoupdate mode value
◆ GetAddonRepoUpdateMode()
Gets Kodi preferred addon repository update mode
- Returns
- the preferred mode value
◆ GetInstance()
◆ IsActive()
bool ADDON::CAddonSystemSettings::IsActive |
( |
const IAddon & | addon | ) |
|
◆ OnSettingAction()
void ADDON::CAddonSystemSettings::OnSettingAction |
( |
const std::shared_ptr< const CSetting > & | setting | ) |
|
|
overridevirtual |
The given setting has been activated.
This callback is triggered whenever the given setting has been activated. This callback is only fired for CSettingAction settings.
- Parameters
-
setting | The setting which has been activated. |
Reimplemented from ISettingCallback.
◆ OnSettingChanged()
void ADDON::CAddonSystemSettings::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.
◆ SetActive()
bool ADDON::CAddonSystemSettings::SetActive |
( |
AddonType | type, |
|
|
const std::string & | addonID ) |
◆ UnsetActive()
Attempt to unset addon as active. Returns true if addon is no longer active, false if it could not be unset (e.g. if the addon is the default)
The documentation for this class was generated from the following files: