michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=80: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /** michael@0: * Usage: declare the macro RELATIONTYPE()with the following arguments: michael@0: * RELATIONTYPE(geckoType, geckoTypeName, atkType, msaaType, ia2Type) michael@0: */ michael@0: michael@0: RELATIONTYPE(LABELLED_BY, michael@0: "labelled by", michael@0: ATK_RELATION_LABELLED_BY, michael@0: NAVRELATION_LABELLED_BY, michael@0: IA2_RELATION_LABELLED_BY) michael@0: michael@0: RELATIONTYPE(LABEL_FOR, michael@0: "label for", michael@0: ATK_RELATION_LABEL_FOR, michael@0: NAVRELATION_LABEL_FOR, michael@0: IA2_RELATION_LABEL_FOR) michael@0: michael@0: RELATIONTYPE(DESCRIBED_BY, michael@0: "described by", michael@0: ATK_RELATION_DESCRIBED_BY, michael@0: NAVRELATION_DESCRIBED_BY, michael@0: IA2_RELATION_DESCRIBED_BY) michael@0: michael@0: RELATIONTYPE(DESCRIPTION_FOR, michael@0: "description for", michael@0: ATK_RELATION_DESCRIPTION_FOR, michael@0: NAVRELATION_DESCRIPTION_FOR, michael@0: IA2_RELATION_DESCRIPTION_FOR) michael@0: michael@0: RELATIONTYPE(NODE_CHILD_OF, michael@0: "node child of", michael@0: ATK_RELATION_NODE_CHILD_OF, michael@0: NAVRELATION_NODE_CHILD_OF, michael@0: IA2_RELATION_NODE_CHILD_OF) michael@0: michael@0: RELATIONTYPE(NODE_PARENT_OF, michael@0: "node parent of", michael@0: ATK_RELATION_NODE_PARENT_OF, michael@0: NAVRELATION_NODE_PARENT_OF, michael@0: IA2_RELATION_NODE_PARENT_OF) michael@0: michael@0: RELATIONTYPE(CONTROLLED_BY, michael@0: "controlled by", michael@0: ATK_RELATION_CONTROLLED_BY, michael@0: NAVRELATION_CONTROLLED_BY, michael@0: IA2_RELATION_CONTROLLED_BY) michael@0: michael@0: RELATIONTYPE(CONTROLLER_FOR, michael@0: "controller for", michael@0: ATK_RELATION_CONTROLLER_FOR, michael@0: NAVRELATION_CONTROLLER_FOR, michael@0: IA2_RELATION_CONTROLLER_FOR) michael@0: michael@0: RELATIONTYPE(FLOWS_TO, michael@0: "flows to", michael@0: ATK_RELATION_FLOWS_TO, michael@0: NAVRELATION_FLOWS_TO, michael@0: IA2_RELATION_FLOWS_TO) michael@0: michael@0: RELATIONTYPE(FLOWS_FROM, michael@0: "flows from", michael@0: ATK_RELATION_FLOWS_FROM, michael@0: NAVRELATION_FLOWS_FROM, michael@0: IA2_RELATION_FLOWS_FROM) michael@0: michael@0: RELATIONTYPE(MEMBER_OF, michael@0: "member of", michael@0: ATK_RELATION_MEMBER_OF, michael@0: NAVRELATION_MEMBER_OF, michael@0: IA2_RELATION_MEMBER_OF) michael@0: michael@0: RELATIONTYPE(SUBWINDOW_OF, michael@0: "subwindow of", michael@0: ATK_RELATION_SUBWINDOW_OF, michael@0: NAVRELATION_SUBWINDOW_OF, michael@0: IA2_RELATION_SUBWINDOW_OF) michael@0: michael@0: RELATIONTYPE(EMBEDS, michael@0: "embeds", michael@0: ATK_RELATION_EMBEDS, michael@0: NAVRELATION_EMBEDS, michael@0: IA2_RELATION_EMBEDS) michael@0: michael@0: RELATIONTYPE(EMBEDDED_BY, michael@0: "embedded by", michael@0: ATK_RELATION_EMBEDDED_BY, michael@0: NAVRELATION_EMBEDDED_BY, michael@0: IA2_RELATION_EMBEDDED_BY) michael@0: michael@0: RELATIONTYPE(POPUP_FOR, michael@0: "popup for", michael@0: ATK_RELATION_POPUP_FOR, michael@0: NAVRELATION_POPUP_FOR, michael@0: IA2_RELATION_POPUP_FOR) michael@0: michael@0: RELATIONTYPE(PARENT_WINDOW_OF, michael@0: "parent window of", michael@0: ATK_RELATION_PARENT_WINDOW_OF, michael@0: NAVRELATION_PARENT_WINDOW_OF, michael@0: IA2_RELATION_PARENT_WINDOW_OF) michael@0: michael@0: RELATIONTYPE(DEFAULT_BUTTON, michael@0: "default button", michael@0: ATK_RELATION_NULL, michael@0: NAVRELATION_DEFAULT_BUTTON, michael@0: IA2_RELATION_NULL) michael@0: michael@0: RELATIONTYPE(CONTAINING_DOCUMENT, michael@0: "containing document", michael@0: ATK_RELATION_NULL, michael@0: NAVRELATION_CONTAINING_DOCUMENT, michael@0: IA2_RELATION_CONTAINING_DOCUMENT) michael@0: michael@0: RELATIONTYPE(CONTAINING_TAB_PANE, michael@0: "containing tab pane", michael@0: ATK_RELATION_NULL, michael@0: NAVRELATION_CONTAINING_TAB_PANE, michael@0: IA2_RELATION_CONTAINING_TAB_PANE) michael@0: michael@0: RELATIONTYPE(CONTAINING_APPLICATION, michael@0: "containing application", michael@0: ATK_RELATION_NULL, michael@0: NAVRELATION_CONTAINING_APPLICATION, michael@0: IA2_RELATION_CONTAINING_APPLICATION)