Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Interface for classes that can provide input. More...
#include <IInputProvider.h>
Public Member Functions | |
virtual | ~IInputProvider ()=default |
virtual void | RegisterInputHandler (IInputHandler *handler, bool bPromiscuous)=0 |
Register a handler for the provided input. | |
virtual void | UnregisterInputHandler (IInputHandler *handler)=0 |
Unregister a handler. | |
Interface for classes that can provide input.
|
virtualdefault |
|
pure virtual |
Register a handler for the provided input.
handler | The handler to receive input provided by this class |
bPromiscuous | If true, receives all input (including handled input) in the background |
Implemented in PERIPHERALS::CPeripheral.
|
pure virtual |
Unregister a handler.
handler | The handler that was receiving input |
Implemented in PERIPHERALS::CPeripheral.