62#ifndef _ATSPI_CONSTANTS_H_
63#define _ATSPI_CONSTANTS_H_
86 ATSPI_LOCALE_TYPE_MESSAGES,
87 ATSPI_LOCALE_TYPE_COLLATE,
88 ATSPI_LOCALE_TYPE_CTYPE,
89 ATSPI_LOCALE_TYPE_MONETARY,
90 ATSPI_LOCALE_TYPE_NUMERIC,
91 ATSPI_LOCALE_TYPE_TIME,
99#define ATSPI_LOCALE_TYPE _COUNT(5+1)
112 ATSPI_COORD_TYPE_SCREEN,
113 ATSPI_COORD_TYPE_WINDOW,
121#define ATSPI_COORD_TYPE_COUNT (1+1)
139 ATSPI_Collection_SORT_ORDER_INVALID,
140 ATSPI_Collection_SORT_ORDER_CANONICAL,
141 ATSPI_Collection_SORT_ORDER_FLOW,
142 ATSPI_Collection_SORT_ORDER_TAB,
143 ATSPI_Collection_SORT_ORDER_REVERSE_CANONICAL,
144 ATSPI_Collection_SORT_ORDER_REVERSE_FLOW,
145 ATSPI_Collection_SORT_ORDER_REVERSE_TAB,
146 ATSPI_Collection_SORT_ORDER_LAST_DEFINED,
147} AtspiCollectionSortOrder;
154#define ATSPI_SORTORDER_COUNT (7+1)
174 ATSPI_Collection_MATCH_INVALID,
175 ATSPI_Collection_MATCH_ALL,
176 ATSPI_Collection_MATCH_ANY,
177 ATSPI_Collection_MATCH_NONE,
178 ATSPI_Collection_MATCH_EMPTY,
179 ATSPI_Collection_MATCH_LAST_DEFINED,
180} AtspiCollectionMatchType;
187#define ATSPI_MATCHTYPES_COUNT (5+1)
201 ATSPI_Collection_TREE_RESTRICT_CHILDREN,
202 ATSPI_Collection_TREE_RESTRICT_SIBLING,
203 ATSPI_Collection_TREE_INORDER,
204 ATSPI_Collection_TREE_LAST_DEFINED,
205} AtspiCollectionTreeTraversalType;
213#define ATSPI_TREETRAVERSALTYPE _COUNT(3+1)
257 ATSPI_LAYER_BACKGROUND,
264 ATSPI_LAYER_LAST_DEFINED,
265} AtspiComponentLayer;
272#define ATSPI_COMPONENTLAYER_COUNT (8+1)
313 ATSPI_TEXT_BOUNDARY_CHAR,
314 ATSPI_TEXT_BOUNDARY_WORD_START,
315 ATSPI_TEXT_BOUNDARY_WORD_END,
316 ATSPI_TEXT_BOUNDARY_SENTENCE_START,
317 ATSPI_TEXT_BOUNDARY_SENTENCE_END,
318 ATSPI_TEXT_BOUNDARY_LINE_START,
319 ATSPI_TEXT_BOUNDARY_LINE_END,
320} AtspiTextBoundaryType;
327#define ATSPI_TEXT_BOUNDARY_TYPE_COUNT (6+1)
344 ATSPI_TEXT_CLIP_NONE,
347 ATSPI_TEXT_CLIP_BOTH,
355#define ATSPI_TEXT_CLIP_TYPE_COUNT (3+1)
518 ATSPI_STATE_COLLAPSED,
520 ATSPI_STATE_EDITABLE,
522 ATSPI_STATE_EXPANDABLE,
523 ATSPI_STATE_EXPANDED,
524 ATSPI_STATE_FOCUSABLE,
526 ATSPI_STATE_HAS_TOOLTIP,
527 ATSPI_STATE_HORIZONTAL,
528 ATSPI_STATE_ICONIFIED,
530 ATSPI_STATE_MULTI_LINE,
531 ATSPI_STATE_MULTISELECTABLE,
534 ATSPI_STATE_RESIZABLE,
535 ATSPI_STATE_SELECTABLE,
536 ATSPI_STATE_SELECTED,
537 ATSPI_STATE_SENSITIVE,
539 ATSPI_STATE_SINGLE_LINE,
541 ATSPI_STATE_TRANSIENT,
542 ATSPI_STATE_VERTICAL,
544 ATSPI_STATE_MANAGES_DESCENDANTS,
545 ATSPI_STATE_INDETERMINATE,
546 ATSPI_STATE_REQUIRED,
547 ATSPI_STATE_TRUNCATED,
548 ATSPI_STATE_ANIMATED,
549 ATSPI_STATE_INVALID_ENTRY,
550 ATSPI_STATE_SUPPORTS_AUTOCOMPLETION,
551 ATSPI_STATE_SELECTABLE_TEXT,
552 ATSPI_STATE_IS_DEFAULT,
554 ATSPI_STATE_LAST_DEFINED,
562#define ATSPI_STATETYPE_COUNT (41+1)
582#define ATSPI_KEYEVENTTYPE_COUNT (1+1)
601 ATSPI_KEY_PRESSED_EVENT,
602 ATSPI_KEY_RELEASED_EVENT,
603 ATSPI_BUTTON_PRESSED_EVENT,
604 ATSPI_BUTTON_RELEASED_EVENT,
612#define ATSPI_EVENTTYPE_COUNT (3+1)
644 ATSPI_KEY_PRESSRELEASE,
654#define ATSPI_KEYSYNTHTYPE_COUNT (4+1)
677 ATSPI_MODIFIER_SHIFT,
678 ATSPI_MODIFIER_SHIFTLOCK,
679 ATSPI_MODIFIER_CONTROL,
682 ATSPI_MODIFIER_META2,
683 ATSPI_MODIFIER_META3,
684 ATSPI_MODIFIER_NUMLOCK = 14,
692#define ATSPI_MODIFIERTYPE_COUNT (7+1)
771 ATSPI_RELATION_LABEL_FOR,
772 ATSPI_RELATION_LABELLED_BY,
773 ATSPI_RELATION_CONTROLLER_FOR,
774 ATSPI_RELATION_CONTROLLED_BY,
775 ATSPI_RELATION_MEMBER_OF,
776 ATSPI_RELATION_TOOLTIP_FOR,
777 ATSPI_RELATION_NODE_CHILD_OF,
778 ATSPI_RELATION_NODE_PARENT_OF,
779 ATSPI_RELATION_EXTENDED,
780 ATSPI_RELATION_FLOWS_TO,
781 ATSPI_RELATION_FLOWS_FROM,
782 ATSPI_RELATION_SUBWINDOW_OF,
783 ATSPI_RELATION_EMBEDS,
784 ATSPI_RELATION_EMBEDDED_BY,
785 ATSPI_RELATION_POPUP_FOR,
786 ATSPI_RELATION_PARENT_WINDOW_OF,
787 ATSPI_RELATION_DESCRIPTION_FOR,
788 ATSPI_RELATION_DESCRIBED_BY,
789 ATSPI_RELATION_LAST_DEFINED,
797#define ATSPI_RELATIONTYPE_COUNT (19+1)
1053 ATSPI_ROLE_ACCELERATOR_LABEL,
1055 ATSPI_ROLE_ANIMATION,
1057 ATSPI_ROLE_CALENDAR,
1059 ATSPI_ROLE_CHECK_BOX,
1060 ATSPI_ROLE_CHECK_MENU_ITEM,
1061 ATSPI_ROLE_COLOR_CHOOSER,
1062 ATSPI_ROLE_COLUMN_HEADER,
1063 ATSPI_ROLE_COMBO_BOX,
1064 ATSPI_ROLE_DATE_EDITOR,
1065 ATSPI_ROLE_DESKTOP_ICON,
1066 ATSPI_ROLE_DESKTOP_FRAME,
1069 ATSPI_ROLE_DIRECTORY_PANE,
1070 ATSPI_ROLE_DRAWING_AREA,
1071 ATSPI_ROLE_FILE_CHOOSER,
1073 ATSPI_ROLE_FOCUS_TRAVERSABLE,
1074 ATSPI_ROLE_FONT_CHOOSER,
1076 ATSPI_ROLE_GLASS_PANE,
1077 ATSPI_ROLE_HTML_CONTAINER,
1080 ATSPI_ROLE_INTERNAL_FRAME,
1082 ATSPI_ROLE_LAYERED_PANE,
1084 ATSPI_ROLE_LIST_ITEM,
1086 ATSPI_ROLE_MENU_BAR,
1087 ATSPI_ROLE_MENU_ITEM,
1088 ATSPI_ROLE_OPTION_PANE,
1089 ATSPI_ROLE_PAGE_TAB,
1090 ATSPI_ROLE_PAGE_TAB_LIST,
1092 ATSPI_ROLE_PASSWORD_TEXT,
1093 ATSPI_ROLE_POPUP_MENU,
1094 ATSPI_ROLE_PROGRESS_BAR,
1095 ATSPI_ROLE_PUSH_BUTTON,
1096 ATSPI_ROLE_RADIO_BUTTON,
1097 ATSPI_ROLE_RADIO_MENU_ITEM,
1098 ATSPI_ROLE_ROOT_PANE,
1099 ATSPI_ROLE_ROW_HEADER,
1100 ATSPI_ROLE_SCROLL_BAR,
1101 ATSPI_ROLE_SCROLL_PANE,
1102 ATSPI_ROLE_SEPARATOR,
1104 ATSPI_ROLE_SPIN_BUTTON,
1105 ATSPI_ROLE_SPLIT_PANE,
1106 ATSPI_ROLE_STATUS_BAR,
1108 ATSPI_ROLE_TABLE_CELL,
1109 ATSPI_ROLE_TABLE_COLUMN_HEADER,
1110 ATSPI_ROLE_TABLE_ROW_HEADER,
1111 ATSPI_ROLE_TEAROFF_MENU_ITEM,
1112 ATSPI_ROLE_TERMINAL,
1114 ATSPI_ROLE_TOGGLE_BUTTON,
1115 ATSPI_ROLE_TOOL_BAR,
1116 ATSPI_ROLE_TOOL_TIP,
1118 ATSPI_ROLE_TREE_TABLE,
1120 ATSPI_ROLE_VIEWPORT,
1122 ATSPI_ROLE_EXTENDED,
1125 ATSPI_ROLE_PARAGRAPH,
1127 ATSPI_ROLE_APPLICATION,
1128 ATSPI_ROLE_AUTOCOMPLETE,
1130 ATSPI_ROLE_EMBEDDED,
1134 ATSPI_ROLE_DOCUMENT_FRAME,
1138 ATSPI_ROLE_REDUNDANT_OBJECT,
1141 ATSPI_ROLE_INPUT_METHOD_WINDOW,
1142 ATSPI_ROLE_TABLE_ROW,
1143 ATSPI_ROLE_TREE_ITEM,
1144 ATSPI_ROLE_DOCUMENT_SPREADSHEET,
1145 ATSPI_ROLE_DOCUMENT_PRESENTATION,
1146 ATSPI_ROLE_DOCUMENT_TEXT,
1147 ATSPI_ROLE_DOCUMENT_WEB,
1148 ATSPI_ROLE_DOCUMENT_EMAIL,
1150 ATSPI_ROLE_LIST_BOX,
1151 ATSPI_ROLE_GROUPING,
1152 ATSPI_ROLE_IMAGE_MAP,
1153 ATSPI_ROLE_NOTIFICATION,
1154 ATSPI_ROLE_INFO_BAR,
1155 ATSPI_ROLE_LAST_DEFINED,
1163#define ATSPI_ROLE_COUNT (90+1)
1167 ATSPI_CACHE_NONE = 0,
1168 ATSPI_CACHE_PARENT = 1 << 0,
1169 ATSPI_CACHE_CHILDREN = 1 << 1,
1170 ATSPI_CACHE_NAME = 1 << 2,
1171 ATSPI_CACHE_DESCRIPTION = 1 << 3,
1172 ATSPI_CACHE_STATES = 1 << 4,
1173 ATSPI_CACHE_ROLE = 1 << 5,
1174 ATSPI_CACHE_INTERFACES = 1 << 6,
1175 ATSPI_CACHE_ATTRIBUTES = 1 << 7,
1176 ATSPI_CACHE_ALL = 0x3fffffff,
1177 ATSPI_CACHE_DEFAULT = ATSPI_CACHE_PARENT | ATSPI_CACHE_CHILDREN |
1178 ATSPI_CACHE_NAME | ATSPI_CACHE_DESCRIPTION |
1179 ATSPI_CACHE_STATES | ATSPI_CACHE_ROLE |
1180 ATSPI_CACHE_INTERFACES,
1181 ATSPI_CACHE_UNDEFINED = 0x40000000,
1184#define ATSPI_DBUS_NAME_REGISTRY "org.a11y.atspi.Registry"
1185#define ATSPI_DBUS_PATH_REGISTRY "/org/a11y/atspi/registry"
1186#define ATSPI_DBUS_INTERFACE_REGISTRY "org.a11y.atspi.Registry"
1188#define ATSPI_DBUS_PATH_NULL "/org/a11y/atspi/null"
1189#define ATSPI_DBUS_PATH_ROOT "/org/a11y/atspi/accessible/root"
1191#define ATSPI_DBUS_PATH_DEC "/org/a11y/atspi/registry/deviceeventcontroller"
1192#define ATSPI_DBUS_INTERFACE_DEC "org.a11y.atspi.DeviceEventController"
1193#define ATSPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER "org.a11y.atspi.DeviceEventListener"
1195#define ATSPI_DBUS_INTERFACE_CACHE "org.a11y.atspi.Cache"
1196#define ATSPI_DBUS_INTERFACE_ACCESSIBLE "org.a11y.atspi.Accessible"
1197#define ATSPI_DBUS_INTERFACE_ACTION "org.a11y.atspi.Action"
1198#define ATSPI_DBUS_INTERFACE_APPLICATION "org.a11y.atspi.Application"
1199#define ATSPI_DBUS_INTERFACE_COLLECTION "org.a11y.atspi.Collection"
1200#define ATSPI_DBUS_INTERFACE_COMPONENT "org.a11y.atspi.Component"
1201#define ATSPI_DBUS_INTERFACE_DOCUMENT "org.a11y.atspi.Document"
1202#define ATSPI_DBUS_INTERFACE_EDITABLE_TEXT "org.a11y.atspi.EditableText"
1203#define ATSPI_DBUS_INTERFACE_EVENT_KEYBOARD "org.a11y.atspi.Event.Keyboard"
1204#define ATSPI_DBUS_INTERFACE_EVENT_MOUSE "org.a11y.atspi.Event.Mouse"
1205#define ATSPI_DBUS_INTERFACE_EVENT_OBJECT "org.a11y.atspi.Event.Object"
1206#define ATSPI_DBUS_INTERFACE_HYPERLINK "org.a11y.atspi.Hyperlink"
1207#define ATSPI_DBUS_INTERFACE_HYPERTEXT "org.a11y.atspi.Hypertext"
1208#define ATSPI_DBUS_INTERFACE_IMAGE "org.a11y.atspi.Image"
1209#define ATSPI_DBUS_INTERFACE_SELECTION "org.a11y.atspi.Selection"
1210#define ATSPI_DBUS_INTERFACE_TABLE "org.a11y.atspi.Table"
1211#define ATSPI_DBUS_INTERFACE_TEXT "org.a11y.atspi.Text"
1212#define ATSPI_DBUS_INTERFACE_VALUE "org.a11y.atspi.Value"
1213#define ATSPI_DBUS_INTERFACE_SOCKET "org.a11y.atspi.Socket"