|
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 file, |
|
5 * * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #ifndef ATK_INTERFACE_INIT_FUNCS_H_ |
|
8 #define ATK_INTERFACE_INIT_FUNCS_H_ |
|
9 |
|
10 #include <atk/atk.h> |
|
11 |
|
12 namespace mozilla { |
|
13 namespace a11y { |
|
14 |
|
15 class AccessibleWrap; |
|
16 |
|
17 } // namespace a11y |
|
18 } // namespace mozilla |
|
19 |
|
20 struct MaiUtilClass; |
|
21 |
|
22 extern "C" { |
|
23 void actionInterfaceInitCB(AtkActionIface* aIface); |
|
24 void componentInterfaceInitCB(AtkComponentIface* aIface); |
|
25 void documentInterfaceInitCB(AtkDocumentIface *aIface); |
|
26 void editableTextInterfaceInitCB(AtkEditableTextIface* aIface); |
|
27 void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface *aIface); |
|
28 void hypertextInterfaceInitCB(AtkHypertextIface* aIface); |
|
29 void imageInterfaceInitCB(AtkImageIface* aIface); |
|
30 void selectionInterfaceInitCB(AtkSelectionIface* aIface); |
|
31 void tableInterfaceInitCB(AtkTableIface *aIface); |
|
32 void textInterfaceInitCB(AtkTextIface* aIface); |
|
33 void valueInterfaceInitCB(AtkValueIface *aIface); |
|
34 } |
|
35 |
|
36 /** |
|
37 * XXX these should live in a file of utils for atk. |
|
38 */ |
|
39 AtkObject* refAccessibleAtPointHelper(mozilla::a11y::AccessibleWrap* aAccWrap, |
|
40 gint aX, gint aY, AtkCoordType aCoordType); |
|
41 void getExtentsHelper(mozilla::a11y::AccessibleWrap* aAccWrap, |
|
42 gint* aX, gint* aY, gint* aWidth, gint* aHeight, |
|
43 AtkCoordType aCoordType); |
|
44 |
|
45 #endif // ATK_INTERFACE_INIT_FUNCS_H_ |