Merge autoland to mozilla-central. a=merge
[gecko.git] / accessible / atk / InterfaceInitFuncs.h
blob43ed8ff4ee8ae24634c8229a96023f7a3f56dc35
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/. */
7 #ifndef ATK_INTERFACE_INIT_FUNCS_H_
8 #define ATK_INTERFACE_INIT_FUNCS_H_
10 #include <atk/atk.h>
12 namespace mozilla {
13 namespace a11y {
15 class AccessibleWrap;
17 } // namespace a11y
18 } // namespace mozilla
20 extern "C" {
21 void actionInterfaceInitCB(AtkActionIface* aIface);
22 void componentInterfaceInitCB(AtkComponentIface* aIface);
23 void documentInterfaceInitCB(AtkDocumentIface* aIface);
24 void editableTextInterfaceInitCB(AtkEditableTextIface* aIface);
25 void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface* aIface);
26 void hypertextInterfaceInitCB(AtkHypertextIface* aIface);
27 void imageInterfaceInitCB(AtkImageIface* aIface);
28 void selectionInterfaceInitCB(AtkSelectionIface* aIface);
29 void tableInterfaceInitCB(AtkTableIface* aIface);
30 void tableCellInterfaceInitCB(AtkTableCellIface* aIface);
31 void textInterfaceInitCB(AtkTextIface* aIface);
32 void valueInterfaceInitCB(AtkValueIface* aIface);
35 /**
36 * XXX these should live in a file of utils for atk.
38 AtkObject* refAccessibleAtPointHelper(AtkObject* aAtkObj, gint aX, gint aY,
39 AtkCoordType aCoordType);
40 void getExtentsHelper(AtkObject* aAtkObj, gint* aX, gint* aY, gint* aWidth,
41 gint* aHeight, AtkCoordType aCoordType);
43 #endif // ATK_INTERFACE_INIT_FUNCS_H_