kodi
Public Member Functions | List of all members
PVR::CPVRGUIActionListener Class Reference
Inheritance diagram for PVR::CPVRGUIActionListener:
Inheritance graph
[legend]
Collaboration diagram for PVR::CPVRGUIActionListener:
Collaboration graph
[legend]

Public Member Functions

void Init (CPVRManager &mgr)
 
void Deinit (CPVRManager &mgr)
 
bool OnAction (const CAction &action) override
 Handle a GUI action. More...
 
void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed. More...
 
void OnSettingAction (const std::shared_ptr< const CSetting > &setting) override
 The given setting has been activated. More...
 
void OnPVRManagerEvent (const PVREvent &event)
 
- 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 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...
 

Member Function Documentation

◆ OnAction()

bool PVR::CPVRGUIActionListener::OnAction ( const CAction action)
overridevirtual

Handle a GUI action.

Parameters
actionThe GUI action
Returns
True if the action was handled, false otherwise

Implements KODI::ACTION::IActionListener.

◆ OnSettingAction()

void PVR::CPVRGUIActionListener::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
settingThe setting which has been activated.

Reimplemented from ISettingCallback.

◆ OnSettingChanged()

void PVR::CPVRGUIActionListener::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
settingThe setting whose value has been changed

Reimplemented from ISettingCallback.


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