Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:16

0001 /*
0002  * AT-SPI - Assistive Technology Service Provider Interface
0003  * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap)
0004  *
0005  * Copyright 2002 Ximian, Inc.
0006  *           2002 Sun Microsystems Inc.
0007  *
0008  *
0009  * This library is free software; you can redistribute it and/or
0010  * modify it under the terms of the GNU Lesser General Public
0011  * License as published by the Free Software Foundation; either
0012  * version 2.1 of the License, or (at your option) any later version.
0013  *
0014  * This library is distributed in the hope that it will be useful,
0015  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0017  * Lesser General Public License for more details.
0018  *
0019  * You should have received a copy of the GNU Lesser General Public
0020  * License along with this library; if not, write to the
0021  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0022  * Boston, MA 02110-1301, USA.
0023  */
0024 
0025 #ifndef _ATSPI_REGISTRY_H_
0026 #define _ATSPI_REGISTRY_H_
0027 
0028 #include "atspi-accessible.h"
0029 #include "atspi-device-listener.h"
0030 #include "atspi-types.h"
0031 
0032 G_BEGIN_DECLS
0033 
0034 typedef void (*AtspiGenerateMouseEventCB) (void *user_data);
0035 
0036 GType atspi_key_definition_get_type ();
0037 
0038 gint atspi_get_desktop_count ();
0039 
0040 AtspiAccessible *atspi_get_desktop (gint i);
0041 
0042 GArray *atspi_get_desktop_list ();
0043 
0044 gboolean
0045 atspi_register_keystroke_listener (AtspiDeviceListener *listener,
0046                                    GArray *key_set,
0047                                    AtspiKeyMaskType modmask,
0048                                    AtspiKeyEventMask event_types,
0049                                    AtspiKeyListenerSyncType sync_type,
0050                                    GError **error);
0051 
0052 gboolean
0053 atspi_deregister_keystroke_listener (AtspiDeviceListener *listener,
0054                                      GArray *key_set,
0055                                      AtspiKeyMaskType modmask,
0056                                      AtspiKeyEventMask event_types,
0057                                      GError **error);
0058 
0059 gboolean
0060 atspi_register_device_event_listener (AtspiDeviceListener *listener,
0061                                       AtspiDeviceEventMask event_types,
0062                                       void *filter,
0063                                       GError **error);
0064 
0065 gboolean
0066 atspi_deregister_device_event_listener (AtspiDeviceListener *listener,
0067                                         void *filter,
0068                                         GError **error);
0069 
0070 gboolean
0071 atspi_generate_keyboard_event (glong keyval,
0072                                const gchar *keystring,
0073                                AtspiKeySynthType synth_type,
0074                                GError **error);
0075 
0076 gboolean
0077 atspi_generate_mouse_event (glong x, glong y, const gchar *name, GError **error);
0078 
0079 void
0080 atspi_generate_mouse_event_async (glong x, glong y, const gchar *name, AtspiGenerateMouseEventCB callback, void *callback_data, GError **error);
0081 
0082 void
0083 atspi_set_reference_window (AtspiAccessible *accessible);
0084 G_END_DECLS
0085 
0086 #endif /* _ATSPI_REGISTRY_H_ */