kodi
Public Member Functions | List of all members
KODI::KEYMAP::CKeymapEnvironment Class Reference
Inheritance diagram for KODI::KEYMAP::CKeymapEnvironment:
Inheritance graph
[legend]
Collaboration diagram for KODI::KEYMAP::CKeymapEnvironment:
Collaboration graph
[legend]

Public Member Functions

int GetWindowID () const override
 Get the window ID for which actions should be translated. More...
 
void SetWindowID (int windowId) override
 Set the window ID. More...
 
int GetFallthrough (int windowId) const override
 Get the fallthrough window to when a key definition is missing. More...
 
bool UseGlobalFallthrough () const override
 Specify if the global keymap should be used when the window and fallback window are undefined.
 
bool UseEasterEgg () const override
 Specify if the agent should monitor for easter egg presses.
 

Member Function Documentation

◆ GetFallthrough()

int CKeymapEnvironment::GetFallthrough ( int  windowId) const
overridevirtual

Get the fallthrough window to when a key definition is missing.

Parameters
windowIdThe window ID
Returns
The window ID, or -1 for no fallthrough

Implements KODI::KEYMAP::IKeymapEnvironment.

◆ GetWindowID()

int KODI::KEYMAP::CKeymapEnvironment::GetWindowID ( ) const
inlineoverridevirtual

Get the window ID for which actions should be translated.

Returns
The window ID

Implements KODI::KEYMAP::IKeymapEnvironment.

◆ SetWindowID()

void KODI::KEYMAP::CKeymapEnvironment::SetWindowID ( int  windowId)
inlineoverridevirtual

Set the window ID.

Parameters
Thewindow ID, used for translating actions

Implements KODI::KEYMAP::IKeymapEnvironment.


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