Changes to introspection generation to remove DOCTYPE and XML
[platform/core/uifw/at-spi2-atk.git] / cspi / cspi-lowlevel.h
1 /*
2  * AT-SPI - Assistive Technology Service Provider Interface
3  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
4  *
5  * Copyright 2002 Ximian, Inc.
6  *
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.
11  *
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.
16  *
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.
21  */
22
23 #ifndef _SPI_LOWLEVEL_H_
24 #define _SPI_LOWLEVEL_H_
25
26 /*
27  * Private internal - details of the lowlevel at-spi
28  * implementation abstraction
29  *
30  * These methods are implemented in cspi/bonobo/
31  */
32
33 #include "cspi/spi-private.h"
34
35 /* Misc CORBA / bonobo bits */
36
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);
45
46 /* Listener bits */
47
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,
53                                                 void                         *user_data);
54 void         cspi_event_listener_remove_cb     (AccessibleEventListener      *listener,
55                                                 AccessibleEventListenerCB     callback);
56
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,
62                                                 void                         *user_data);
63 void         cspi_keystroke_listener_remove_cb (AccessibleKeystrokeListener  *listener,
64                                                 AccessibleKeystrokeListenerCB callback);
65
66 #endif /* _SPI_LOWLEVEL_H_ */