1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 * Usage: declare the macro RELATIONTYPE()with the following arguments:
9 * RELATIONTYPE(geckoType, geckoTypeName, atkType, msaaType, ia2Type)
12 RELATIONTYPE(LABELLED_BY
, "labelled by", ATK_RELATION_LABELLED_BY
,
13 NAVRELATION_LABELLED_BY
, IA2_RELATION_LABELLED_BY
)
15 RELATIONTYPE(LABEL_FOR
, "label for", ATK_RELATION_LABEL_FOR
,
16 NAVRELATION_LABEL_FOR
, IA2_RELATION_LABEL_FOR
)
18 RELATIONTYPE(DESCRIBED_BY
, "described by", ATK_RELATION_DESCRIBED_BY
,
19 NAVRELATION_DESCRIBED_BY
, IA2_RELATION_DESCRIBED_BY
)
21 RELATIONTYPE(DESCRIPTION_FOR
, "description for", ATK_RELATION_DESCRIPTION_FOR
,
22 NAVRELATION_DESCRIPTION_FOR
, IA2_RELATION_DESCRIPTION_FOR
)
24 RELATIONTYPE(NODE_CHILD_OF
, "node child of", ATK_RELATION_NODE_CHILD_OF
,
25 NAVRELATION_NODE_CHILD_OF
, IA2_RELATION_NODE_CHILD_OF
)
27 RELATIONTYPE(NODE_PARENT_OF
, "node parent of", ATK_RELATION_NODE_PARENT_OF
,
28 NAVRELATION_NODE_PARENT_OF
, IA2_RELATION_NODE_PARENT_OF
)
30 RELATIONTYPE(CONTROLLED_BY
, "controlled by", ATK_RELATION_CONTROLLED_BY
,
31 NAVRELATION_CONTROLLED_BY
, IA2_RELATION_CONTROLLED_BY
)
33 RELATIONTYPE(CONTROLLER_FOR
, "controller for", ATK_RELATION_CONTROLLER_FOR
,
34 NAVRELATION_CONTROLLER_FOR
, IA2_RELATION_CONTROLLER_FOR
)
36 RELATIONTYPE(FLOWS_TO
, "flows to", ATK_RELATION_FLOWS_TO
, NAVRELATION_FLOWS_TO
,
37 IA2_RELATION_FLOWS_TO
)
39 RELATIONTYPE(FLOWS_FROM
, "flows from", ATK_RELATION_FLOWS_FROM
,
40 NAVRELATION_FLOWS_FROM
, IA2_RELATION_FLOWS_FROM
)
42 RELATIONTYPE(MEMBER_OF
, "member of", ATK_RELATION_MEMBER_OF
,
43 NAVRELATION_MEMBER_OF
, IA2_RELATION_MEMBER_OF
)
45 RELATIONTYPE(SUBWINDOW_OF
, "subwindow of", ATK_RELATION_SUBWINDOW_OF
,
46 NAVRELATION_SUBWINDOW_OF
, IA2_RELATION_SUBWINDOW_OF
)
48 RELATIONTYPE(EMBEDS
, "embeds", ATK_RELATION_EMBEDS
, NAVRELATION_EMBEDS
,
51 RELATIONTYPE(EMBEDDED_BY
, "embedded by", ATK_RELATION_EMBEDDED_BY
,
52 NAVRELATION_EMBEDDED_BY
, IA2_RELATION_EMBEDDED_BY
)
54 RELATIONTYPE(POPUP_FOR
, "popup for", ATK_RELATION_POPUP_FOR
,
55 NAVRELATION_POPUP_FOR
, IA2_RELATION_POPUP_FOR
)
57 RELATIONTYPE(PARENT_WINDOW_OF
, "parent window of",
58 ATK_RELATION_PARENT_WINDOW_OF
, NAVRELATION_PARENT_WINDOW_OF
,
59 IA2_RELATION_PARENT_WINDOW_OF
)
61 RELATIONTYPE(DEFAULT_BUTTON
, "default button", ATK_RELATION_NULL
,
62 NAVRELATION_DEFAULT_BUTTON
, IA2_RELATION_NULL
)
64 RELATIONTYPE(CONTAINING_DOCUMENT
, "containing document", ATK_RELATION_NULL
,
65 NAVRELATION_CONTAINING_DOCUMENT
, IA2_RELATION_CONTAINING_DOCUMENT
)
67 RELATIONTYPE(CONTAINING_TAB_PANE
, "containing tab pane", ATK_RELATION_NULL
,
68 NAVRELATION_CONTAINING_TAB_PANE
, IA2_RELATION_CONTAINING_TAB_PANE
)
70 RELATIONTYPE(CONTAINING_WINDOW
, "containing window", ATK_RELATION_NULL
,
71 NAVRELATION_CONTAINING_WINDOW
, IA2_RELATION_CONTAINING_WINDOW
)
73 RELATIONTYPE(CONTAINING_APPLICATION
, "containing application",
74 ATK_RELATION_NULL
, NAVRELATION_CONTAINING_APPLICATION
,
75 IA2_RELATION_CONTAINING_APPLICATION
)
77 RELATIONTYPE(DETAILS
, "details", ATK_RELATION_DETAILS
, NAVRELATION_DETAILS
,
80 RELATIONTYPE(DETAILS_FOR
, "details for", ATK_RELATION_DETAILS_FOR
,
81 NAVRELATION_DETAILS_FOR
, IA2_RELATION_DETAILS_FOR
)
83 RELATIONTYPE(ERRORMSG
, "error", ATK_RELATION_ERROR_MESSAGE
, NAVRELATION_ERROR
,
86 RELATIONTYPE(ERRORMSG_FOR
, "error for", ATK_RELATION_ERROR_FOR
,
87 NAVRELATION_ERROR_FOR
, IA2_RELATION_ERROR_FOR
)
89 RELATIONTYPE(LINKS_TO
, "links to", ATK_RELATION_NULL
, NAVRELATION_LINKS_TO
,