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 file, michael@0: * * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef ATK_INTERFACE_INIT_FUNCS_H_ michael@0: #define ATK_INTERFACE_INIT_FUNCS_H_ michael@0: michael@0: #include michael@0: michael@0: namespace mozilla { michael@0: namespace a11y { michael@0: michael@0: class AccessibleWrap; michael@0: michael@0: } // namespace a11y michael@0: } // namespace mozilla michael@0: michael@0: struct MaiUtilClass; michael@0: michael@0: extern "C" { michael@0: void actionInterfaceInitCB(AtkActionIface* aIface); michael@0: void componentInterfaceInitCB(AtkComponentIface* aIface); michael@0: void documentInterfaceInitCB(AtkDocumentIface *aIface); michael@0: void editableTextInterfaceInitCB(AtkEditableTextIface* aIface); michael@0: void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface *aIface); michael@0: void hypertextInterfaceInitCB(AtkHypertextIface* aIface); michael@0: void imageInterfaceInitCB(AtkImageIface* aIface); michael@0: void selectionInterfaceInitCB(AtkSelectionIface* aIface); michael@0: void tableInterfaceInitCB(AtkTableIface *aIface); michael@0: void textInterfaceInitCB(AtkTextIface* aIface); michael@0: void valueInterfaceInitCB(AtkValueIface *aIface); michael@0: } michael@0: michael@0: /** michael@0: * XXX these should live in a file of utils for atk. michael@0: */ michael@0: AtkObject* refAccessibleAtPointHelper(mozilla::a11y::AccessibleWrap* aAccWrap, michael@0: gint aX, gint aY, AtkCoordType aCoordType); michael@0: void getExtentsHelper(mozilla::a11y::AccessibleWrap* aAccWrap, michael@0: gint* aX, gint* aY, gint* aWidth, gint* aHeight, michael@0: AtkCoordType aCoordType); michael@0: michael@0: #endif // ATK_INTERFACE_INIT_FUNCS_H_