Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Player controller class to handle user actions. More...
#include <PlayerController.h>
Public Member Functions | |
bool | OnAction (const CAction &action) override |
Perform a player control action if appropriate. | |
void | OnSliderChange (void *data, CGUISliderControl *slider) override |
Callback from the slider dialog. | |
Public Member Functions inherited from ISliderCallback | |
virtual | ~ISliderCallback ()=default |
Public Member Functions inherited from KODI::ACTION::IActionListener | |
virtual | ~IActionListener ()=default |
Static Public Member Functions | |
static CPlayerController & | GetInstance () |
Protected Member Functions | |
CPlayerController () | |
CPlayerController (const CPlayerController &)=delete | |
CPlayerController & | operator= (CPlayerController const &)=delete |
~CPlayerController () override | |
Player controller class to handle user actions.
Handles actions that are normally suited to fullscreen playback, such as altering subtitles and audio tracks, changing aspect ratio, subtitle placement, and placement of the video on screen.
|
protected |
|
protecteddelete |
|
overrideprotecteddefault |
|
static |
Perform a player control action if appropriate.
action | the action to perform. |
Implements KODI::ACTION::IActionListener.
|
overridevirtual |
|
protecteddelete |