tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

InterfaceInitFuncs.h (1594B)


      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 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);
     33 }
     34 
     35 /**
     36 * XXX these should live in a file of utils for atk.
     37 */
     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);
     42 
     43 #endif  // ATK_INTERFACE_INIT_FUNCS_H_