spiegel-keyman/core/src/action.hpp
Marc Durdin b6daac0bdb feat(core): action struct to action items conversion
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.
2023-12-01 12:27:49 +07:00

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