Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::ACTION::IActionListener Class Referenceabstract

Interface defining methods to handle GUI actions. More...

#include <IActionListener.h>

Inheritance diagram for KODI::ACTION::IActionListener:
CAirTunesServer CInputManager CPlayerController CSeekHandler PVR::CPVRGUIActionListener

Public Member Functions

virtual ~IActionListener ()=default
 
virtual bool OnAction (const CAction &action)=0
 Handle a GUI action.
 

Detailed Description

Interface defining methods to handle GUI actions.

Constructor & Destructor Documentation

◆ ~IActionListener()

virtual KODI::ACTION::IActionListener::~IActionListener ( )
virtualdefault

Member Function Documentation

◆ OnAction()

virtual bool KODI::ACTION::IActionListener::OnAction ( const CAction & action)
pure virtual

Handle a GUI action.

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

Implemented in CInputManager, CAirTunesServer, PVR::CPVRGUIActionListener, CSeekHandler, and CPlayerController.


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