kodi
Public Member Functions | List of all members
KODI::JOYSTICK::IInputProvider Class Referenceabstract

Interface for classes that can provide input. More...

#include <IInputProvider.h>

Inheritance diagram for KODI::JOYSTICK::IInputProvider:
Inheritance graph
[legend]

Public Member Functions

virtual void RegisterInputHandler (IInputHandler *handler, bool bPromiscuous)=0
 Register a handler for the provided input. More...
 
virtual void UnregisterInputHandler (IInputHandler *handler)=0
 Unregister a handler. More...
 

Detailed Description

Interface for classes that can provide input.

Member Function Documentation

◆ RegisterInputHandler()

virtual void KODI::JOYSTICK::IInputProvider::RegisterInputHandler ( IInputHandler handler,
bool  bPromiscuous 
)
pure virtual

Register a handler for the provided input.

Parameters
handlerThe handler to receive input provided by this class
bPromiscuousIf true, receives all input (including handled input) in the background

Implemented in PERIPHERALS::CPeripheral.

◆ UnregisterInputHandler()

virtual void KODI::JOYSTICK::IInputProvider::UnregisterInputHandler ( IInputHandler handler)
pure virtual

Unregister a handler.

Parameters
handlerThe handler that was receiving input

Implemented in PERIPHERALS::CPeripheral.


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