xbmc
Public Member Functions | List of all members
KODI::KEYBOARD::IKeyboardInputProvider Class Referenceabstract

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

#include <IKeyboardInputProvider.h>

Inheritance diagram for KODI::KEYBOARD::IKeyboardInputProvider:
Inheritance graph
[legend]

Public Member Functions

virtual void RegisterKeyboardHandler (IKeyboardInputHandler *handler, bool bPromiscuous)=0
 Registers a handler to be called on keyboard input. More...
 
virtual void UnregisterKeyboardHandler (IKeyboardInputHandler *handler)=0
 Unregisters handler from keyboard input. More...
 

Detailed Description

Interface for classes that can provide keyboard input.

Member Function Documentation

◆ RegisterKeyboardHandler()

virtual void KODI::KEYBOARD::IKeyboardInputProvider::RegisterKeyboardHandler ( IKeyboardInputHandler handler,
bool  bPromiscuous 
)
pure virtual

Registers a handler to be called on keyboard input.

Parameters
handlerThe handler to receive keyboard input provided by this class
bPromiscuousTrue to observe all events without affecting the input's destination

Implemented in PERIPHERALS::CPeripheral.

◆ UnregisterKeyboardHandler()

virtual void KODI::KEYBOARD::IKeyboardInputProvider::UnregisterKeyboardHandler ( IKeyboardInputHandler handler)
pure virtual

Unregisters handler from keyboard input.

Parameters
handlerThe handler that was receiving keyboard input

Implemented in PERIPHERALS::CPeripheral.


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