|
librime 1.2
Rime Input Method Engine, the core library
|
#include <key_binding_processor.h>

Classes | |
| struct | ActionDef |
| struct | Keymap |
Public Types | |
| enum | FallbackOptions { None = 0 , ShiftAsControl = (1 << 0) , IgnoreShift = (1 << 1) , All = ShiftAsControl | IgnoreShift } |
| typedef bool | Handler(Context *ctx) |
| using | HandlerPtr = bool (T::*)(Context* ctx) |
Public Member Functions | |
| KeyBindingProcessor (ActionDef *action_definitions) | |
| ProcessResult | ProcessKeyEvent (const KeyEvent &key_event, Context *ctx, int keymap_selector=0, int fallback_options=FallbackOptions::None) |
| void | LoadConfig (Config *config, const string §ion, int kemap_selector=0) |
Static Public Attributes | |
| static const ActionDef | kActionNoop |
Protected Member Functions | |
| Keymap & | get_keymap (int keymap_selector=0) |
| bool | Accept (const KeyEvent &key_event, Context *ctx, Keymap &keymap) |
| typedef bool rime::KeyBindingProcessor< T, N >::Handler(Context *ctx) |
| using rime::KeyBindingProcessor< T, N >::HandlerPtr = bool (T::*)(Context* ctx) |
| enum rime::KeyBindingProcessor::FallbackOptions |
|
inlineexplicit |
|
protected |
|
protected |
| void rime::KeyBindingProcessor< T, N >::LoadConfig | ( | Config * | config, |
| const string & | section, | ||
| int | kemap_selector = 0 ) |
| ProcessResult rime::KeyBindingProcessor< T, N >::ProcessKeyEvent | ( | const KeyEvent & | key_event, |
| Context * | ctx, | ||
| int | keymap_selector = 0, | ||
| int | fallback_options = FallbackOptions::None ) |
|
static |