Add a new warning for numeric keysyms
[platform/upstream/libxkbcommon.git] / src / messages-codes.h
1 // NOTE: This file has been generated automatically by “update-message-registry.py”.
2 //       Do not edit manually!
3
4 #ifndef MESSAGES_H
5 #define MESSAGES_H
6
7 #include <stdint.h>
8
9 /**
10  * @name Codes of the log messages
11  *
12  * @added 1.6.0
13  *
14  */
15 enum xkb_message_code {
16     _XKB_LOG_MESSAGE_MIN_CODE = 34,
17     /** Warn on malformed number literals */
18     XKB_ERROR_MALFORMED_NUMBER_LITERAL = 34,
19     /** Warn on unsupported modifier mask */
20     XKB_ERROR_UNSUPPORTED_MODIFIER_MASK = 60,
21     /** Warn on unrecognized keysyms */
22     XKB_WARNING_UNRECOGNIZED_KEYSYM = 107,
23     /** Warn if no key type can be inferred */
24     XKB_WARNING_CANNOT_INFER_KEY_TYPE = 183,
25     /** Warn when a group index is not supported */
26     XKB_ERROR_UNSUPPORTED_GROUP_INDEX = 237,
27     /** Warn if using an undefined key type */
28     XKB_WARNING_UNDEFINED_KEY_TYPE = 286,
29     /** Warn if a group name was defined for group other than the first one */
30     XKB_WARNING_NON_BASE_GROUP_NAME = 305,
31     /** Warn when a shift level is not supported */
32     XKB_ERROR_UNSUPPORTED_SHIFT_LEVEL = 312,
33     /** Warn if there are conflicting keysyms while merging keys */
34     XKB_WARNING_CONFLICTING_KEY_SYMBOL = 461,
35     /** Warn on numeric keysym (other than 0-9) */
36     XKB_WARNING_NUMERIC_KEYSYM = 489,
37     /** TODO: add description */
38     XKB_WARNING_EXTRA_SYMBOLS_IGNORED = 516,
39     /** Warn when a field has not the expected type */
40     XKB_ERROR_WRONG_FIELD_TYPE = 578,
41     /** Warn on unknown escape sequence in string literal */
42     XKB_WARNING_UNKNOWN_CHAR_ESCAPE_SEQUENCE = 645,
43     /** Warn if a key defines multiple groups at once */
44     XKB_WARNING_MULTIPLE_GROUPS_AT_ONCE = 700,
45     /** The syntax is invalid and the file cannot be parsed */
46     XKB_ERROR_INVALID_SYNTAX = 769,
47     /** TODO: add description */
48     XKB_WARNING_UNDEFINED_KEYCODE = 770,
49     /** Warn if there are conflicting modmap definitions */
50     XKB_WARNING_CONFLICTING_MODMAP = 800,
51     /** Warn if there are conflicting actions while merging keys */
52     XKB_WARNING_CONFLICTING_KEY_ACTION = 883,
53     /** Warn if there are conflicting key types while merging groups */
54     XKB_WARNING_CONFLICTING_KEY_TYPE = 893,
55     /** Warn if there are conflicting fields while merging keys */
56     XKB_WARNING_CONFLICTING_KEY_FIELDS = 935,
57     /** Warn if using a symbol not defined in the keymap */
58     XKB_WARNING_UNRESOLVED_KEYMAP_SYMBOL = 965,
59     _XKB_LOG_MESSAGE_MAX_CODE = 965
60 };
61
62 typedef uint32_t xkb_message_code_t;
63
64 #endif