Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PVR::CPVRGUIActionListener Class Reference

#include <PVRGUIActionListener.h>

Inheritance diagram for PVR::CPVRGUIActionListener:
KODI::ACTION::IActionListener ISettingCallback

Public Member Functions

 CPVRGUIActionListener ()
 
 ~CPVRGUIActionListener () override
 
void Init (CPVRManager &mgr)
 
void Deinit (CPVRManager &mgr)
 
bool OnAction (const CAction &action) override
 Handle a GUI action.
 
void OnSettingChanged (const std::shared_ptr< const CSetting > &setting) override
 The value of the given setting has changed.
 
void OnSettingAction (const std::shared_ptr< const CSetting > &setting) override
 The given setting has been activated.
 
void OnPVRManagerEvent (const PVREvent &event)
 
- Public Member Functions inherited from KODI::ACTION::IActionListener
virtual ~IActionListener ()=default
 
- 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 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.
 

Constructor & Destructor Documentation

◆ CPVRGUIActionListener()

PVR::CPVRGUIActionListener::CPVRGUIActionListener ( )

◆ ~CPVRGUIActionListener()

PVR::CPVRGUIActionListener::~CPVRGUIActionListener ( )
override

Member Function Documentation

◆ Deinit()

void PVR::CPVRGUIActionListener::Deinit ( CPVRManager & mgr)

◆ Init()

void PVR::CPVRGUIActionListener::Init ( CPVRManager & mgr)

◆ 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.

◆ OnPVRManagerEvent()

void PVR::CPVRGUIActionListener::OnPVRManagerEvent ( const PVREvent & event)

◆ 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: