Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::WINDOWING::WAYLAND::CXkbcommonContext Class Reference

#include <XkbcommonKeymap.h>

Public Member Functions

 CXkbcommonContext (xkb_context_flags flags=XKB_CONTEXT_NO_FLAGS)
 
std::unique_ptr< CXkbcommonKeymapLocalizedKeymapFromString (const std::string &keymap, const std::string &locale)
 

Constructor & Destructor Documentation

◆ CXkbcommonContext()

CXkbcommonContext::CXkbcommonContext ( xkb_context_flags flags = XKB_CONTEXT_NO_FLAGS)
explicit

Member Function Documentation

◆ LocalizedKeymapFromString()

std::unique_ptr< CXkbcommonKeymap > CXkbcommonContext::LocalizedKeymapFromString ( const std::string & keymap,
const std::string & locale )

Opens a shared memory region and parses the data in it to an xkbcommon keymap.

This function does not own the file descriptor. It must not be closed from this function.


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