mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-27 10:47:41 +00:00
Adds state->set_actions(). This sets the Core's action list to match the contents of the action struct. Note that markers are not supported and backspace expected_values will be empty, as this information is not available. As the intended consumer of the action struct does not need to know this information, this should be adequate.
21 lines
480 B
C++
21 lines
480 B
C++
/*
|
|
Copyright: © 2023 SIL International.
|
|
Description: Internal actions methods for Keyman Core
|
|
Create Date: 23 Oct 2023
|
|
Authors: Marc Durdin (MCD)
|
|
History: 23 Oct 2023 - MCD - Initial implementation
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <keyman/keyman_core_api.h>
|
|
#include <state.hpp>
|
|
|
|
namespace km {
|
|
namespace core
|
|
{
|
|
km_core_actions const *action_item_list_to_actions_object(
|
|
km_core_action_item const *action_items
|
|
);
|
|
} // namespace core
|
|
} // namespace km
|