InterfaceInitFuncs.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  4. * * You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef ATK_INTERFACE_INIT_FUNCS_H_
  6. #define ATK_INTERFACE_INIT_FUNCS_H_
  7. #include <atk/atk.h>
  8. namespace mozilla {
  9. namespace a11y {
  10. class AccessibleWrap;
  11. } // namespace a11y
  12. } // namespace mozilla
  13. extern "C" {
  14. void actionInterfaceInitCB(AtkActionIface* aIface);
  15. void componentInterfaceInitCB(AtkComponentIface* aIface);
  16. void documentInterfaceInitCB(AtkDocumentIface *aIface);
  17. void editableTextInterfaceInitCB(AtkEditableTextIface* aIface);
  18. void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface *aIface);
  19. void hypertextInterfaceInitCB(AtkHypertextIface* aIface);
  20. void imageInterfaceInitCB(AtkImageIface* aIface);
  21. void selectionInterfaceInitCB(AtkSelectionIface* aIface);
  22. void tableInterfaceInitCB(AtkTableIface *aIface);
  23. void tableCellInterfaceInitCB(AtkTableCellIface *aIface);
  24. void textInterfaceInitCB(AtkTextIface* aIface);
  25. void valueInterfaceInitCB(AtkValueIface *aIface);
  26. }
  27. /**
  28. * XXX these should live in a file of utils for atk.
  29. */
  30. AtkObject* refAccessibleAtPointHelper(AtkObject* aAtkObj,
  31. gint aX, gint aY, AtkCoordType aCoordType);
  32. void getExtentsHelper(AtkObject* aAtkObj,
  33. gint* aX, gint* aY, gint* aWidth, gint* aHeight,
  34. AtkCoordType aCoordType);
  35. #endif // ATK_INTERFACE_INIT_FUNCS_H_