Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <RssManager.h>
Public Member Functions | |
void | OnSettingsLoaded () override |
Settings have been loaded. | |
void | OnSettingsUnloaded () override |
Setting values have been unloaded. | |
void | OnSettingAction (const std::shared_ptr< const CSetting > &setting) override |
The given setting has been activated. | |
void | Start () |
void | Stop () |
bool | Load () |
bool | Reload () |
void | Clear () |
bool | IsActive () const |
bool | GetReader (int controlID, int windowID, IRssObserver *observer, CRssReader *&reader) |
const RssUrls & | GetUrls () const |
Public Member Functions inherited from ISettingCallback | |
virtual | ~ISettingCallback ()=default |
virtual bool | OnSettingChanging (const std::shared_ptr< const CSetting > &setting) |
The value of the given setting is being changed. | |
virtual void | OnSettingChanged (const std::shared_ptr< const CSetting > &setting) |
The value of the given setting has 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 bool | OnSettingsSaving () const |
Settings saving has been initiated. | |
virtual void | OnSettingsSaved () const |
Settings have been saved. | |
virtual void | OnSettingsCleared () |
Settings have been cleared. | |
Static Public Member Functions | |
static CRssManager & | GetInstance () |
Protected Member Functions | |
CRssManager () | |
~CRssManager () override | |
|
protected |
|
overrideprotected |
void CRssManager::Clear | ( | ) |
|
static |
bool CRssManager::GetReader | ( | int | controlID, |
int | windowID, | ||
IRssObserver * | observer, | ||
CRssReader *& | reader ) |
|
inline |
|
inline |
bool CRssManager::Load | ( | ) |
|
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.
setting | The setting which has been activated. |
Reimplemented from ISettingCallback.
|
overridevirtual |
Settings have been loaded.
This callback can be used to trigger loading other settings.
Reimplemented from ISettingsHandler.
|
overridevirtual |
Setting values have been unloaded.
This callback can be used to trigger uninitializing any state variables (e.g. before re-loading the settings).
Reimplemented from ISettingsHandler.
bool CRssManager::Reload | ( | ) |
void CRssManager::Start | ( | ) |
void CRssManager::Stop | ( | ) |