accessible/src/atk/InterfaceInitFuncs.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/accessible/src/atk/InterfaceInitFuncs.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,45 @@
     1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* vim: set ts=2 et sw=2 tw=80: */
     1.6 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.7 + *  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.8 + *   * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.9 +
    1.10 +#ifndef ATK_INTERFACE_INIT_FUNCS_H_
    1.11 +#define ATK_INTERFACE_INIT_FUNCS_H_
    1.12 +
    1.13 +#include <atk/atk.h>
    1.14 +
    1.15 +namespace mozilla {
    1.16 +namespace a11y {
    1.17 +
    1.18 +class AccessibleWrap;
    1.19 +
    1.20 +} // namespace a11y
    1.21 +} // namespace mozilla
    1.22 +
    1.23 +struct MaiUtilClass;
    1.24 +
    1.25 +extern "C" {
    1.26 +void actionInterfaceInitCB(AtkActionIface* aIface);
    1.27 +void componentInterfaceInitCB(AtkComponentIface* aIface);
    1.28 +void documentInterfaceInitCB(AtkDocumentIface *aIface);
    1.29 +void editableTextInterfaceInitCB(AtkEditableTextIface* aIface);
    1.30 +void hyperlinkImplInterfaceInitCB(AtkHyperlinkImplIface *aIface);
    1.31 +void hypertextInterfaceInitCB(AtkHypertextIface* aIface);
    1.32 +void imageInterfaceInitCB(AtkImageIface* aIface);
    1.33 +void selectionInterfaceInitCB(AtkSelectionIface* aIface);
    1.34 +void tableInterfaceInitCB(AtkTableIface *aIface);
    1.35 +void textInterfaceInitCB(AtkTextIface* aIface);
    1.36 +void valueInterfaceInitCB(AtkValueIface *aIface);
    1.37 +}
    1.38 +
    1.39 +/**
    1.40 + * XXX these should live in a file of utils for atk.
    1.41 + */
    1.42 +AtkObject* refAccessibleAtPointHelper(mozilla::a11y::AccessibleWrap* aAccWrap,
    1.43 +                                      gint aX, gint aY, AtkCoordType aCoordType);
    1.44 +void getExtentsHelper(mozilla::a11y::AccessibleWrap* aAccWrap,
    1.45 +                      gint* aX, gint* aY, gint* aWidth, gint* aHeight,
    1.46 +                      AtkCoordType aCoordType);
    1.47 +
    1.48 +#endif // ATK_INTERFACE_INIT_FUNCS_H_

mercurial