mirror of
https://github.com/keymanapp/keyman.git
synced 2026-11-02 09:07:41 +00:00
Rename ProcessActionsTestParse to NonUpdatable parse. It does more then just test. Add handling for the invalidate context action to this parse, so that if we emit a keystroke we invalidate the context
29 lines
933 B
C
29 lines
933 B
C
|
|
/*
|
|
* Keyman is copyright (C) SIL International. MIT License.
|
|
*
|
|
* Description: Used for apply core processor actions to
|
|
* Keyman for Windows engine.
|
|
*/
|
|
#ifndef _KMPROCESSACTIONS_H
|
|
#define _KMPROCESSACTIONS_h
|
|
|
|
/**
|
|
* Process the actions queued in the core processor
|
|
*
|
|
* @param [in, out] emitKeyStroke is set to true if requested by the core action queue
|
|
* @return BOOL True if actions were successfully processed
|
|
*/
|
|
BOOL ProcessActions(BOOL* emitKeyStroke);
|
|
|
|
/**
|
|
* This function process the actions queued in the core processor in
|
|
* the non-updateable parse of a keystroke.
|
|
* Emit keystroke , capslock, and possibly invalidate key stroke are required to be processed in this phase.
|
|
*
|
|
* @param [in, out] emitKeyStroke is set to true if requested by the core action queue
|
|
* @return BOOL True if actions were successfully processed
|
|
*/
|
|
BOOL ProcessActionsNonUpdatableParse(BOOL* emitKeyStroke);
|
|
|
|
#endif
|