spiegel-keyman/core/include/ldml/keyboardprocessor_ldml.h
Steven R. Loomis f5db1749b4 style(core): ldml: review comments
#5015

- add copyright notices
2022-08-22 17:13:45 -05:00

40 lines
1.1 KiB
C

/*
Copyright: Copyright (C) 2022 SIL International.
Authors: srl295
This file provides constants for the KMX Plus (LDML support) binary format,
to be shared between TypeScript and C++ via the generator (below)
*/
//
// Generated File - do not edit
//
// This file is generated by core/tools/ldml-const-builder/build.sh
// based on core/include/ldml/keyboardprocessor_ldml.ts
//
#pragma once
#define LDML_KEYS_FLAGS_EXTEND 1
#define LDML_LENGTH_HEADER 8
#define LDML_LENGTH_KEYS 16
#define LDML_LENGTH_LOCA 12
#define LDML_LENGTH_META 36
#define LDML_LENGTH_SECT 16
#define LDML_LENGTH_STRS 16
#define LDML_LENGTH_VKEY 12
#define LDML_META_SETTINGS_FALLBACK_OMIT 1
#define LDML_META_SETTINGS_TRANSFORMFAILURE_OMIT 2
#define LDML_META_SETTINGS_TRANSFORMPARTIAL_HIDE 4
// Section ID
#define LDML_SECTION_KEYS ((uint32_t)'keys')
// Section ID
#define LDML_SECTION_LOCA ((uint32_t)'loca')
// Section ID
#define LDML_SECTION_META ((uint32_t)'meta')
// Section ID
#define LDML_SECTION_SECT ((uint32_t)'sect')
// Section ID
#define LDML_SECTION_STRS ((uint32_t)'strs')
// Section ID
#define LDML_SECTION_VKEY ((uint32_t)'vkey')
#define LDML_VERSION "1.0"