Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
CRssManager Class Reference

#include <RssManager.h>

Inheritance diagram for CRssManager:
ISettingCallback ISettingsHandler

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 RssUrlsGetUrls () 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 CRssManagerGetInstance ()

Protected Member Functions

 CRssManager ()
 ~CRssManager () override

Constructor & Destructor Documentation

◆ CRssManager()

CRssManager::CRssManager ( )

◆ ~CRssManager()

CRssManager::~CRssManager ( )

Member Function Documentation

◆ Clear()

void CRssManager::Clear ( )

◆ GetInstance()

CRssManager & CRssManager::GetInstance ( )

◆ GetReader()

bool CRssManager::GetReader ( int controlID,
int windowID,
IRssObserver * observer,
CRssReader *& reader )

◆ GetUrls()

const RssUrls & CRssManager::GetUrls ( ) const

◆ IsActive()

bool CRssManager::IsActive ( ) const

◆ Load()

bool CRssManager::Load ( )

◆ OnSettingAction()

void CRssManager::OnSettingAction ( const std::shared_ptr< const CSetting > & setting)

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.

settingThe setting which has been activated.

Reimplemented from ISettingCallback.

◆ OnSettingsLoaded()

void CRssManager::OnSettingsLoaded ( )

Settings have been loaded.

This callback can be used to trigger loading other settings.

Reimplemented from ISettingsHandler.

◆ OnSettingsUnloaded()

void CRssManager::OnSettingsUnloaded ( )

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.

◆ Reload()

bool CRssManager::Reload ( )

◆ Start()

void CRssManager::Start ( )

◆ Stop()

void CRssManager::Stop ( )

The documentation for this class was generated from the following files: