2 * AT-SPI - Assistive Technology Service Provider Interface
3 * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
5 * Copyright 2002 Ximian, Inc.
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public
18 * License along with this library; if not, write to the
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
23 #ifndef _SPI_LOWLEVEL_H_
24 #define _SPI_LOWLEVEL_H_
27 * Private internal - details of the lowlevel at-spi
28 * implementation abstraction
30 * These methods are implemented in cspi/bonobo/
33 #include "cspi/spi-private.h"
35 /* Misc CORBA / bonobo bits */
37 SPIBoolean cspi_check_ev (const char *error_string);
38 CORBA_Object cspi_dup_ref (CORBA_Object object);
39 void cspi_release_unref (CORBA_Object object);
40 char *cspi_exception_get_text (void);
41 CORBA_Object cspi_init (void);
42 SPIBoolean cspi_ping (CORBA_Object object);
43 void cspi_main (void);
44 void cspi_main_quit (void);
48 gpointer cspi_event_listener_new (void);
49 void cspi_event_listener_unref (AccessibleEventListener *listener);
50 CORBA_Object cspi_event_listener_get_corba (AccessibleEventListener *listener);
51 void cspi_event_listener_add_cb (AccessibleEventListener *listener,
52 AccessibleEventListenerCB callback,
54 void cspi_event_listener_remove_cb (AccessibleEventListener *listener,
55 AccessibleEventListenerCB callback);
57 gpointer cspi_keystroke_listener_new (void);
58 void cspi_keystroke_listener_unref (AccessibleKeystrokeListener *listener);
59 CORBA_Object cspi_keystroke_listener_get_corba (AccessibleKeystrokeListener *listener);
60 void cspi_keystroke_listener_add_cb (AccessibleKeystrokeListener *listener,
61 AccessibleKeystrokeListenerCB callback,
63 void cspi_keystroke_listener_remove_cb (AccessibleKeystrokeListener *listener,
64 AccessibleKeystrokeListenerCB callback);
66 #endif /* _SPI_LOWLEVEL_H_ */