spiegel-keyman/windows/src/engine/keyman32/kmprocessactions.h
Ross 6fc623e4f3 fix: Add invalidate context action to non-updatable parse
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
2022-08-24 11:03:43 +10:00

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