From 23b0b74622ee824e48793967555cdb2a50af039d Mon Sep 17 00:00:00 2001 From: Mark Doffman Date: Sun, 7 Dec 2008 23:08:17 +0000 Subject: [PATCH] 2008-12-04 Mark Doffman * atk-adaptor/* Clean up, remove CORBA implementation related files that are no longer used. --- atk-adaptor/action.h | 54 --------------- atk-adaptor/application.h | 59 ---------------- atk-adaptor/base.c | 88 ------------------------ atk-adaptor/base.h | 57 ---------------- atk-adaptor/collection.h | 76 --------------------- atk-adaptor/component.h | 52 -------------- atk-adaptor/devicelistener.c | 146 ---------------------------------------- atk-adaptor/devicelistener.h | 59 ---------------- atk-adaptor/document.h | 57 ---------------- atk-adaptor/editabletext.h | 54 --------------- atk-adaptor/eventlistener.c | 89 ------------------------ atk-adaptor/eventlistener.h | 57 ---------------- atk-adaptor/hyperlink.h | 56 --------------- atk-adaptor/hypertext.h | 54 --------------- atk-adaptor/image.h | 55 --------------- atk-adaptor/keystrokelistener.h | 46 ------------- atk-adaptor/libspi.h | 51 -------------- atk-adaptor/listener.c | 111 ------------------------------ atk-adaptor/listener.h | 53 --------------- atk-adaptor/matchrule.c | 59 ---------------- atk-adaptor/matchrule.h | 56 --------------- atk-adaptor/relation.h | 55 --------------- atk-adaptor/remoteobject.c | 61 ----------------- atk-adaptor/remoteobject.h | 52 -------------- atk-adaptor/selection.h | 55 --------------- atk-adaptor/spi-private.h | 37 ---------- atk-adaptor/streamablecontent.h | 52 -------------- atk-adaptor/table.h | 54 --------------- atk-adaptor/text.h | 56 --------------- atk-adaptor/util.c | 35 ---------- atk-adaptor/value.h | 55 --------------- 31 files changed, 1901 deletions(-) delete mode 100644 atk-adaptor/action.h delete mode 100644 atk-adaptor/application.h delete mode 100644 atk-adaptor/base.c delete mode 100644 atk-adaptor/base.h delete mode 100644 atk-adaptor/collection.h delete mode 100644 atk-adaptor/component.h delete mode 100644 atk-adaptor/devicelistener.c delete mode 100644 atk-adaptor/devicelistener.h delete mode 100644 atk-adaptor/document.h delete mode 100644 atk-adaptor/editabletext.h delete mode 100644 atk-adaptor/eventlistener.c delete mode 100644 atk-adaptor/eventlistener.h delete mode 100644 atk-adaptor/hyperlink.h delete mode 100644 atk-adaptor/hypertext.h delete mode 100644 atk-adaptor/image.h delete mode 100644 atk-adaptor/keystrokelistener.h delete mode 100644 atk-adaptor/libspi.h delete mode 100644 atk-adaptor/listener.c delete mode 100644 atk-adaptor/listener.h delete mode 100644 atk-adaptor/matchrule.c delete mode 100644 atk-adaptor/matchrule.h delete mode 100644 atk-adaptor/relation.h delete mode 100644 atk-adaptor/remoteobject.c delete mode 100644 atk-adaptor/remoteobject.h delete mode 100644 atk-adaptor/selection.h delete mode 100644 atk-adaptor/spi-private.h delete mode 100644 atk-adaptor/streamablecontent.h delete mode 100644 atk-adaptor/table.h delete mode 100644 atk-adaptor/text.h delete mode 100644 atk-adaptor/util.c delete mode 100644 atk-adaptor/value.h diff --git a/atk-adaptor/action.h b/atk-adaptor/action.h deleted file mode 100644 index 37daadc..0000000 --- a/atk-adaptor/action.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_ACTION_H_ -#define SPI_ACTION_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_ACTION_TYPE (spi_action_get_type ()) -#define SPI_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_ACTION_TYPE, SpiAction)) -#define SPI_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_ACTION_TYPE, SpiActionClass)) -#define SPI_IS_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_ACTION_TYPE)) -#define SPI_IS_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_ACTION_TYPE)) - -typedef struct _Action SpiAction; -typedef struct _ActionClass SpiActionClass; - -struct _Action { - SpiBase parent; -}; - -struct _ActionClass { - SpiBaseClass parent_class; - POA_Accessibility_Action__epv epv; -}; - -GType spi_action_get_type (void); -SpiAction *spi_action_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_ACTION_H_ */ diff --git a/atk-adaptor/application.h b/atk-adaptor/application.h deleted file mode 100644 index 3903b3f..0000000 --- a/atk-adaptor/application.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_APPLICATION_H_ -#define SPI_APPLICATION_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_APPLICATION_TYPE (spi_application_get_type ()) -#define SPI_APPLICATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_APPLICATION_TYPE, SpiApplication)) -#define SPI_APPLICATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_APPLICATION_TYPE, SpiApplicationClass)) -#define SPI_IS_APPLICATION(o) (G_TYPE_CHECK__INSTANCE_TYPE ((o), SPI_APPLICATION_TYPE)) -#define SPI_IS_APPLICATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_APPLICATION_TYPE)) - -typedef struct { - SpiAccessible parent; - long id; - GList *toolkit_listeners; -} SpiApplication; - -typedef struct { - SpiAccessibleClass parent_class; - POA_Accessibility_Application__epv epv; - GHashTable *toolkit_event_names; - GHashTable *generic_event_names; -} SpiApplicationClass; - -GType spi_application_get_type (void); -SpiApplication *spi_application_new (AtkObject *app_root); -void spi_emit_eventv (GObject *gobject, - unsigned long detail1, - unsigned long detail2, - const char *format, ...); - -G_END_DECLS - -#endif /* SPI_APPLICATION_H_ */ diff --git a/atk-adaptor/base.c b/atk-adaptor/base.c deleted file mode 100644 index 25bd4b3..0000000 --- a/atk-adaptor/base.c +++ /dev/null @@ -1,88 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001 Ximian Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* base.c: the base object managing an AtkObject proxy */ - -#include -#include -#include - -/* Our parent Gtk object type */ -#define PARENT_TYPE BONOBO_TYPE_OBJECT - -/* A pointer to our parent object class */ -static GObjectClass *spi_base_parent_class; - -/* - * Implemented GObject::dispose - */ -static void -spi_base_object_dispose (GObject *gobject) -{ - SpiBase *object = SPI_BASE (gobject); - - if (object->gobj) - { - g_assert (G_IS_OBJECT (object->gobj)); - g_object_unref (object->gobj); - object->gobj = NULL; - } - - spi_base_parent_class->dispose (gobject); -} - -static void -spi_base_class_init (SpiBaseClass *klass) -{ - GObjectClass * object_class = (GObjectClass *) klass; - - spi_base_parent_class = g_type_class_peek_parent (klass); - - object_class->dispose = spi_base_object_dispose; -} - -static void -spi_base_init (SpiBase *object) -{ - object->gobj = NULL; -} - -BONOBO_TYPE_FUNC (SpiBase, PARENT_TYPE, spi_base) - -void -spi_base_construct (SpiBase *object, GObject *gobject) -{ - g_return_if_fail (G_IS_OBJECT (gobject)); - object->gobj = g_object_ref (gobject); -} - -void -spi_base_construct_default (SpiBase *object) -{ - object->gobj = g_object_new (G_TYPE_OBJECT, NULL); -} - -GObject * -spi_base_get_gobject (SpiBase *object) -{ - return object->gobj; -} diff --git a/atk-adaptor/base.h b/atk-adaptor/base.h deleted file mode 100644 index bfe5860..0000000 --- a/atk-adaptor/base.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_BASE_H_ -#define SPI_BASE_H_ - -#include -#include -#include -#include - -G_BEGIN_DECLS - -#define SPI_TYPE_BASE (spi_base_get_type ()) -#define SPI_BASE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_TYPE_BASE, SpiBase)) -#define SPI_BASE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_TYPE_BASE, SpiBaseClass)) -#define SPI_IS_BASE(o) (G_TYPE_CHECK__INSTANCE_TYPE ((o), SPI_TYPE_BASE)) -#define SPI_IS_BASE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_TYPE_BASE)) - -typedef struct { - BonoboObject parent; - GObject *gobj; -} SpiBase; - -typedef struct { - BonoboObjectClass parent_class; -} SpiBaseClass; - -GType spi_base_get_type (void); -void spi_base_construct (SpiBase *base, - GObject *gobject); -void spi_base_construct_default (SpiBase *base); -GObject *spi_base_get_gobject (SpiBase *base); - -G_END_DECLS - -#endif /* SPI_BASE_H_ */ diff --git a/atk-adaptor/collection.h b/atk-adaptor/collection.h deleted file mode 100644 index abcc350..0000000 --- a/atk-adaptor/collection.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2007 IBM Corp. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_COLLECTION_H_ -#define SPI_COLLECTION_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_COLLECTION_TYPE (spi_collection_get_type ()) -#define SPI_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_COLLECTION_TYPE, SpiCollection)) -#define SPI_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_COLLECTION_TYPE, SpiCollectionClass)) -#define IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_COLLECTION_TYPE)) -#define IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_COLLECTION_TYPE)) - -typedef struct _MatchRulePrivate MatchRulePrivate; - -struct _MatchRulePrivate { - - Accessibility_StateSet states; - Accessibility_Collection_MatchType statematchtype; - Accessibility_AttributeSet *attributes; - Accessibility_Collection_MatchType attributematchtype; - Accessibility_RoleSet *roles; - Accessibility_Collection_MatchType rolematchtype; - CORBA_char *interfaces; - Accessibility_Collection_MatchType interfacematchtype; - gboolean invert; - -}; - -typedef struct _SpiCollection SpiCollection; -typedef struct _SpiCollectionClass SpiCollectionClass; - -struct _SpiCollection { - SpiBase parent; - MatchRulePrivate *_mrp; - -}; - -struct _SpiCollectionClass { - SpiBaseClass parent_class; - POA_Accessibility_Collection__epv epv; -}; - -GType spi_collection_get_type (void); - -void spi_collection_construct (SpiCollection *collection); - -SpiCollection *spi_collection_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_COLLECTION_H_ */ - - diff --git a/atk-adaptor/component.h b/atk-adaptor/component.h deleted file mode 100644 index e86b8fb..0000000 --- a/atk-adaptor/component.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_COMPONENT_H_ -#define SPI_COMPONENT_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_COMPONENT_TYPE (spi_component_get_type ()) -#define SPI_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_COMPONENT_TYPE, SpiComponent)) -#define SPI_COMPONENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_COMPONENT_TYPE, SpiComponentClass)) -#define SPI_IS_COMPONENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SPI_COMPONENT_TYPE)) -#define SPI_IS_COMPONENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_COMPONENT_TYPE)) - -typedef struct { - SpiBase parent; -} SpiComponent; - -typedef struct { - SpiBaseClass parent_class; - POA_Accessibility_Component__epv epv; -} SpiComponentClass; - -GType spi_component_get_type (void); -SpiComponent *spi_component_interface_new (AtkObject *o); - -G_END_DECLS - -#endif /* SPI_COMPONENT_H_ */ diff --git a/atk-adaptor/devicelistener.c b/atk-adaptor/devicelistener.c deleted file mode 100644 index 526cb4d..0000000 --- a/atk-adaptor/devicelistener.c +++ /dev/null @@ -1,146 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* devicelistener.c: implement the DeviceListener interface */ - -#include -#ifdef SPI_DEBUG -# include -#endif -#include -#include - -/* Our parent Gtk object type */ -#define PARENT_TYPE BONOBO_TYPE_OBJECT - -enum { - DEVICE_EVENT, - LAST_SIGNAL -}; -static guint signals [LAST_SIGNAL]; - -/* - * CORBA Accessibility::DeviceListener::keyEvent method implementation - */ -static CORBA_boolean -impl_device_event (PortableServer_Servant servant, - const Accessibility_DeviceEvent *key, - CORBA_Environment *ev) -{ - gboolean was_consumed = FALSE; - SpiDeviceListener *listener = SPI_DEVICE_LISTENER ( - bonobo_object_from_servant (servant)); - - g_signal_emit (G_OBJECT (listener), signals [DEVICE_EVENT], 0, key, &was_consumed); - - return was_consumed; -} - -static gboolean -boolean_handled_accumulator (GSignalInvocationHint *ihint, - GValue *return_accu, - const GValue *handler_return, - gpointer dummy) -{ - gboolean continue_emission; - gboolean signal_handled; - - signal_handled = g_value_get_boolean (handler_return); - g_value_set_boolean (return_accu, signal_handled); - continue_emission = !signal_handled; - - return continue_emission; -} - -void -marshal_BOOLEAN__POINTER (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data) -{ - typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER) (gpointer data1, - gpointer arg_1, - gpointer data2); - register GMarshalFunc_BOOLEAN__POINTER callback; - register GCClosure *cc = (GCClosure*) closure; - register gpointer data1, data2; - gboolean v_return; - - g_return_if_fail (return_value != NULL); - g_return_if_fail (n_param_values == 2); - - if (G_CCLOSURE_SWAP_DATA (closure)) - { - data1 = closure->data; - data2 = g_value_peek_pointer (param_values + 0); - } - else - { - data1 = g_value_peek_pointer (param_values + 0); - data2 = closure->data; - } - callback = (GMarshalFunc_BOOLEAN__POINTER) (marshal_data ? marshal_data : cc->callback); - - v_return = callback (data1, - g_value_get_pointer (param_values + 1), - data2); - - g_value_set_boolean (return_value, v_return); -} - -static void -spi_device_listener_class_init (SpiDeviceListenerClass *klass) -{ - POA_Accessibility_DeviceEventListener__epv *epv = &klass->epv; - - signals [DEVICE_EVENT] = g_signal_new ( - "device_event", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (SpiDeviceListenerClass, device_event), - boolean_handled_accumulator, NULL, - marshal_BOOLEAN__POINTER, - G_TYPE_BOOLEAN, 1, G_TYPE_POINTER); - - epv->notifyEvent = impl_device_event; -} - -static void -spi_device_listener_init (SpiDeviceListener *device_listener) -{ -} - -BONOBO_TYPE_FUNC_FULL (SpiDeviceListener, - Accessibility_DeviceEventListener, - BONOBO_TYPE_OBJECT, - spi_device_listener) - -SpiDeviceListener * -spi_device_listener_new (void) -{ - SpiDeviceListener *retval = g_object_new ( - SPI_DEVICE_LISTENER_TYPE, NULL); - return retval; -} diff --git a/atk-adaptor/devicelistener.h b/atk-adaptor/devicelistener.h deleted file mode 100644 index 8446d22..0000000 --- a/atk-adaptor/devicelistener.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_DEVICE_LISTENER_H_ -#define SPI_DEVICE_LISTENER_H_ - -#include -#include -#include -#include - -G_BEGIN_DECLS - -#define SPI_DEVICE_LISTENER_TYPE (spi_device_listener_get_type ()) -#define SPI_DEVICE_LISTENER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_DEVICE_LISTENER_TYPE, SpiDeviceListener)) -#define SPI_DEVICE_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_DEVICE_LISTENER_TYPE, SpiDeviceListenerClass)) -#define SPI_IS_DEVICE_LISTENER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SPI_DEVICE_LISTENER_TYPE)) -#define SPI_IS_DEVICE_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_DEVICE_LISTENER_TYPE)) - -typedef struct _SpiDeviceListener SpiDeviceListener; - -struct _SpiDeviceListener { - BonoboObject parent; -}; - -typedef struct { - BonoboObjectClass parent_class; - POA_Accessibility_DeviceEventListener__epv epv; - - gboolean (*device_event) (SpiDeviceListener *listener, - const Accessibility_DeviceEvent *key); -} SpiDeviceListenerClass; - -GType spi_device_listener_get_type (void); -SpiDeviceListener *spi_device_listener_new (void); - -G_END_DECLS - -#endif /* DEVICE_SPI_LISTENER_H_ */ diff --git a/atk-adaptor/document.h b/atk-adaptor/document.h deleted file mode 100644 index 8ed63ec..0000000 --- a/atk-adaptor/document.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_DOCUMENT_H_ -#define SPI_DOCUMENT_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_DOCUMENT_TYPE (spi_document_get_type ()) -#define SPI_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_DOCUMENT_TYPE, SpiDocument)) -#define SPI_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_DOCUMENT_TYPE, SpiDocumentClass)) -#define IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj, SPI_DOCUMENT_TYPE)) -#define IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_DOCUMENT_TYPE)) - -typedef struct _SpiDocument SpiDocument; -typedef struct _SpiDocumentClass SpiDocumentClass; - -struct _SpiDocument { - SpiBase parent; -}; - -struct _SpiDocumentClass { - SpiBaseClass parent_class; - POA_Accessibility_Document__epv epv; -}; - -GType spi_document_get_type (void); -void spi_document_construct (SpiDocument *document, - AtkObject *obj); -SpiDocument *spi_document_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_DOCUMENT_H_ */ diff --git a/atk-adaptor/editabletext.h b/atk-adaptor/editabletext.h deleted file mode 100644 index 2fc0b1d..0000000 --- a/atk-adaptor/editabletext.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_EDITABLE_TEXT_H_ -#define SPI_EDITABLE_TEXT_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_EDITABLE_TEXT_TYPE (spi_editable_text_get_type ()) -#define SPI_EDITABLE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_EDITABLE_TEXT_TYPE, SpiEditableText)) -#define SPI_EDITABLE_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_EDITABLE_TEXT_TYPE, SpiEditableText)) -#define SPI_IS_EDITABLE_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_EDITABLE_TEXT_TYPE)) -#define SPI_IS_EDITABLE_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_EDITABLE_TEXT_TYPE)) - -typedef struct _SpiEditableText SpiEditableText; -typedef struct _SpiEditableTextClass SpiEditableTextClass; - -struct _SpiEditableText { - SpiText parent; -}; - -struct _SpiEditableTextClass { - SpiTextClass parent_class; - POA_Accessibility_EditableText__epv epv; -}; - -GType spi_editable_text_get_type (void); -SpiEditableText *spi_editable_text_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_EDITABLE_TEXT_H_ */ diff --git a/atk-adaptor/eventlistener.c b/atk-adaptor/eventlistener.c deleted file mode 100644 index 6374813..0000000 --- a/atk-adaptor/eventlistener.c +++ /dev/null @@ -1,89 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* accessibleeventlistener.c: implementation of SpiListener.idl */ - -#include -#ifdef SPI_DEBUG -#include -#endif -#include - -/* Our parent Gtk object type */ -#define PARENT_TYPE SPI_LISTENER_TYPE - -enum { - EVENT, - LAST_SIGNAL -}; -static guint signals [LAST_SIGNAL]; - -/* - * CORBA Accessibility::Listener::notifyEvent method implementation - */ -static void -impl_accessible_event_notify_event (PortableServer_Servant servant, - const Accessibility_Event *e, - CORBA_Environment *ev) -{ - SpiEventListener *listener = SPI_EVENT_LISTENER ( - bonobo_object_from_servant (servant)); - - g_signal_emit (G_OBJECT (listener), signals [EVENT], 0, e); - -} - -static void -spi_event_listener_class_init (SpiEventListenerClass *klass) -{ - SpiListenerClass *spi_listener_class = (SpiListenerClass *) klass; - POA_Accessibility_EventListener__epv *epv = &spi_listener_class->epv; - - signals [EVENT] = g_signal_new ( - "event", - G_TYPE_FROM_CLASS (klass), - G_SIGNAL_RUN_LAST, - G_STRUCT_OFFSET (SpiEventListenerClass, event), - NULL, NULL, - g_cclosure_marshal_VOID__POINTER, - G_TYPE_NONE, 1, G_TYPE_POINTER); - - epv->notifyEvent = impl_accessible_event_notify_event; -} - -static void -spi_event_listener_init (SpiEventListener *listener) -{ -} - -BONOBO_TYPE_FUNC (SpiEventListener, - PARENT_TYPE, - spi_event_listener) - -SpiEventListener * -spi_event_listener_new (void) -{ - SpiEventListener *retval = g_object_new ( - SPI_EVENT_LISTENER_TYPE, NULL); - return retval; -} diff --git a/atk-adaptor/eventlistener.h b/atk-adaptor/eventlistener.h deleted file mode 100644 index cb1adfe..0000000 --- a/atk-adaptor/eventlistener.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_ACCESSIBLE_EVENT_LISTENER_H_ -#define SPI_ACCESSIBLE_EVENT_LISTENER_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_EVENT_LISTENER_TYPE (spi_event_listener_get_type ()) -#define SPI_EVENT_LISTENER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_EVENT_LISTENER_TYPE, SpiEventListener)) -#define SPI_EVENT_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_EVENT_LISTENER_TYPE, SpiEventListenerClass)) -#define SPI_IS_EVENT_LISTENER(o) (G_TYPE_CHECK__INSTANCE_TYPE ((o), SPI_EVENT_LISTENER_TYPE)) -#define SPI_IS_EVENT_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_EVENT_LISTENER_TYPE)) - -typedef struct _SpiEventListener SpiEventListener; - -struct _SpiEventListener { - SpiListener parent; -}; - -typedef struct { - SpiListenerClass parent_class; - - /* signals */ - void (*event) (SpiEventListener *listener, - Accessibility_Event *e); - -} SpiEventListenerClass; - -GType spi_event_listener_get_type (void); -SpiEventListener *spi_event_listener_new (void); - -G_END_DECLS - -#endif /* SPI_ACCESSIBLE_EVENT_SPI_LISTENER_H_ */ diff --git a/atk-adaptor/hyperlink.h b/atk-adaptor/hyperlink.h deleted file mode 100644 index 73bd659..0000000 --- a/atk-adaptor/hyperlink.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_HYPERLINK_H_ -#define SPI_HYPERLINK_H_ - -#include -#include -#include - -G_BEGIN_DECLS - -#define SPI_HYPERLINK_TYPE (spi_hyperlink_get_type ()) -#define SPI_HYPERLINK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_HYPERLINK_TYPE, SpiHyperlink)) -#define SPI_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_HYPERLINK_TYPE, SpiHyperlinkClass)) -#define SPI_IS_HYPERLINK(obj) (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SPI_HYPERLINK_TYPE)) -#define SPI_IS_HYPERLINK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_HYPERLINK_TYPE)) - -typedef struct _Hyperlink SpiHyperlink; -typedef struct _HyperlinkClass SpiHyperlinkClass; - -struct _Hyperlink { - SpiBase parent; -}; - -struct _HyperlinkClass { - SpiBaseClass parent_class; - POA_Accessibility_Hyperlink__epv epv; -}; - -GType spi_hyperlink_get_type (void); -SpiHyperlink *spi_hyperlink_new (AtkHyperlink *object); - -G_END_DECLS - -#endif /* SPI_HYPERLINK_H_ */ diff --git a/atk-adaptor/hypertext.h b/atk-adaptor/hypertext.h deleted file mode 100644 index 3113149..0000000 --- a/atk-adaptor/hypertext.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_HYPERTEXT_H_ -#define SPI_HYPERTEXT_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_HYPERTEXT_TYPE (spi_hypertext_get_type ()) -#define SPI_HYPERTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_HYPERTEXT_TYPE, SpiHypertext)) -#define SPI_HYPERTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_HYPERTEXT_TYPE, SpiHypertextClass)) -#define SPI_IS_HYPERTEXT(obj) (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SPI_HYPERTEXT_TYPE)) -#define SPI_IS_HYPERTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_HYPERTEXT_TYPE)) - -typedef struct _SpiHypertext SpiHypertext; -typedef struct _SpiHypertextClass SpiHypertextClass; - -struct _SpiHypertext { - SpiBase parent; -}; - -struct _SpiHypertextClass { - SpiBaseClass parent_class; - POA_Accessibility_Hypertext__epv epv; -}; - -GType spi_hypertext_get_type (void); -SpiHypertext *spi_hypertext_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_HYPERTEXT_H_ */ diff --git a/atk-adaptor/image.h b/atk-adaptor/image.h deleted file mode 100644 index 8ffb855..0000000 --- a/atk-adaptor/image.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_IMAGE_H_ -#define SPI_IMAGE_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_IMAGE_TYPE (spi_image_get_type ()) -#define SPI_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_IMAGE_TYPE, SpiImage)) -#define SPI_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_IMAGE_TYPE, SpiImageClass)) -#define SPI_IS_IMAGE(obj) (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SPI_IMAGE_TYPE)) -#define SPI_IS_IMAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_IMAGE_TYPE)) - -typedef struct _Image SpiImage; -typedef struct _ImageClass SpiImageClass; - -struct _Image { - SpiBase parent; -}; - -struct _ImageClass { - SpiBaseClass parent; - POA_Accessibility_Image__epv epv; -}; - -GType spi_image_get_type (void); -SpiImage *spi_image_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_IMAGE_H_ */ diff --git a/atk-adaptor/keystrokelistener.h b/atk-adaptor/keystrokelistener.h deleted file mode 100644 index ed2ba45..0000000 --- a/atk-adaptor/keystrokelistener.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_KEYSTROKE_LISTENER_H_ -#define SPI_KEYSTROKE_LISTENER_H_ - -G_BEGIN_DECLS - -#include - -#define SPI_KEYSTROKE_LISTENER_TYPE SPI_DEVICE_LISTENER_TYPE -#define SPI_KEYSTROKE_LISTENER(o) SPI_DEVICE_LISTENER(o) -#define SPI_KEYSTROKE_LISTENER_CLASS(k) SPI_DEVICE_LISTENER_CLASS(k) -#define SPI_IS_KEYSTROKE_LISTENER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SPI_KEYSTROKE_LISTENER_TYPE)) -#define SPI_IS_KEYSTROKE_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_KEYSTROKE_LISTENER_TYPE)) - -typedef struct _SpiDeviceListener SpiKeystrokeListener; - -typedef SpiDeviceListenerClass SpiKeystrokeListenerClass; - -#define spi_keystroke_listener_get_type spi_device_listener_get_type -#define spi_keystroke_listener_new spi_device_listener_new - -G_END_DECLS - -#endif /* KEYSTROKE_SPI_LISTENER_H_ */ diff --git a/atk-adaptor/libspi.h b/atk-adaptor/libspi.h deleted file mode 100644 index ea0fd42..0000000 --- a/atk-adaptor/libspi.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - * - * libspi.h: the main include header for libspi. - */ -#ifndef LIBSPI_H_ -#define LIBSPI_H_ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif /* LIBSPI_H_ */ diff --git a/atk-adaptor/listener.c b/atk-adaptor/listener.c deleted file mode 100644 index c969483..0000000 --- a/atk-adaptor/listener.c +++ /dev/null @@ -1,111 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* listener.c: implements the Listener interface */ - -#ifdef SPI_DEBUG -#include -#endif - -#include -#include - -/* Our parent Gtk object type */ -#define PARENT_TYPE BONOBO_TYPE_OBJECT - -/* A pointer to our parent object class */ -static GObjectClass *spi_listener_parent_class; - -/* - * Implemented GObject::finalize - */ -static void -spi_listener_object_finalize (GObject *object) -{ -/* SpiListener *listener = SPI_LISTENER (object); */ - -#ifdef SPI_DEBUG - fprintf(stderr, "spi_listener_object_finalize called\n"); -#endif - spi_listener_parent_class->finalize (object); -} - -/* - * CORBA Accessibility::Listener::notifyEvent method implementation - */ - -static void -impl_notify_event (PortableServer_Servant servant, - const Accessibility_Event *e, - CORBA_Environment *ev) -{ -#ifdef SPI_DEBUG - fprintf (stderr, "notify %s...\n", e->type); - fprintf (stderr, "source name: '%s'\n", - Accessibility_Accessible__get_name(e->source, ev)); - if (ev->_major != CORBA_NO_EXCEPTION) { - DBG (2, g_warning ("Accessibility app error: exception during event notification: %s\n"), - CORBA_exception_id(ev))); - } - /* - fprintf (stderr, "source is component ? : %s\n", - Accessibility_Accessible_queryInterface (e->source, - "IDL:Accessibility/Component:1.0", - ev) - ? "yes" : "no"); - */ -#endif - if (e->source != CORBA_OBJECT_NIL) - { - Accessibility_Accessible_unref (e->source, ev); - } -} - -static void -spi_listener_class_init (SpiListenerClass *klass) -{ - GObjectClass * object_class = (GObjectClass *) klass; - POA_Accessibility_EventListener__epv *epv = &klass->epv; - spi_listener_parent_class = g_type_class_peek_parent (klass); - - object_class->finalize = spi_listener_object_finalize; - - epv->notifyEvent = impl_notify_event; -} - -static void -spi_listener_init (SpiListener *listener) -{ -} - -BONOBO_TYPE_FUNC_FULL (SpiListener, - Accessibility_EventListener, - PARENT_TYPE, - spi_listener) - -SpiListener * -spi_listener_new (void) -{ - SpiListener *retval = g_object_new (SPI_LISTENER_TYPE, NULL); - return retval; -} diff --git a/atk-adaptor/listener.h b/atk-adaptor/listener.h deleted file mode 100644 index 3ed3dcf..0000000 --- a/atk-adaptor/listener.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_LISTENER_H_ -#define SPI_LISTENER_H_ - -#include -#include -#include - -G_BEGIN_DECLS - -#define SPI_LISTENER_TYPE (spi_listener_get_type ()) -#define SPI_LISTENER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_LISTENER_TYPE, SpiListener)) -#define SPI_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_LISTENER_TYPE, SpiListenerClass)) -#define SPI_IS_LISTENER(o) (G_TYPE_CHECK__INSTANCE_TYPE ((o), SPI_LISTENER_TYPE)) -#define SPI_IS_LISTENER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_LISTENER_TYPE)) - -typedef struct { - BonoboObject parent; -} SpiListener; - -typedef struct { - BonoboObjectClass parent_class; - POA_Accessibility_EventListener__epv epv; -} SpiListenerClass; - -GType spi_listener_get_type (void); -SpiListener *spi_listener_new (void); - -G_END_DECLS - -#endif /* SPI_LISTENER_H_ */ diff --git a/atk-adaptor/matchrule.c b/atk-adaptor/matchrule.c deleted file mode 100644 index c62b8bd..0000000 --- a/atk-adaptor/matchrule.c +++ /dev/null @@ -1,59 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2007 IBM Corp. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -/* matchrule.c: implements the Matchrule interface */ - - -#include -#include -#include -#include -#include - -SpiMatchrule * -spi_matchrule_interface_new () -{ - - SpiMatchrule *new_matchrule = g_object_new (SPI_MATCHRULE_TYPE, NULL); - - spi_base_construct_default (SPI_BASE (new_matchrule)); - - return new_matchrule; - -} - -static void -spi_matchrule_class_init (SpiMatchruleClass *klass) -{ -} - -static void -spi_matchrule_init (SpiMatchrule *matchrule) -{ -} - -BONOBO_TYPE_FUNC_FULL (SpiMatchrule, - Accessibility_MatchRule, - SPI_TYPE_BASE, - spi_matchrule) - - diff --git a/atk-adaptor/matchrule.h b/atk-adaptor/matchrule.h deleted file mode 100644 index 26125fa..0000000 --- a/atk-adaptor/matchrule.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2007 IBM Corp. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_MATCHRULE_H_ -#define SPI_MATCHRULE_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_MATCHRULE_TYPE (spi_matchrule_get_type ()) -#define SPI_MATCHRULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_MATCHRULE_TYPE, SpiMatchrule)) -#define SPI_MATCHRULE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_MATCHRULE_TYPE, SpiMatchruleClass)) -#define IS_MATCHRULE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj, SPI_MATCHRULE_TYPE)) -#define IS_MATCHRULE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_MATCHRULE_TYPE)) - -typedef struct _SpiMatchrule SpiMatchrule; -typedef struct _SpiMatchruleClass SpiMatchruleClass; - -struct _SpiMatchrule { - SpiBase parent; - -}; - -struct _SpiMatchruleClass { - SpiBaseClass parent_class; - POA_Accessibility_MatchRule__epv epv; -}; - -GType spi_matchrule_get_type (void); -void spi_matchrule_construct (SpiMatchrule *matchrule); - -SpiMatchrule *spi_matchrule_interface_new (void); - -G_END_DECLS - -#endif /* SPI_MATCHRULE_H_ */ diff --git a/atk-adaptor/relation.h b/atk-adaptor/relation.h deleted file mode 100644 index 36feb25..0000000 --- a/atk-adaptor/relation.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_RELATION_H_ -#define SPI_RELATION_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_RELATION_TYPE (spi_relation_get_type ()) -#define SPI_RELATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_RELATION_TYPE, SpiRelation)) -#define SPI_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_RELATION_TYPE, SpiRelationClass)) -#define SPI_IS_RELATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_RELATION_TYPE)) -#define SPI_IS_RELATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_RELATION_TYPE)) - -typedef struct _SpiRelation SpiRelation; -typedef struct _SpiRelationClass SpiRelationClass; - -struct _SpiRelation { - SpiBase parent; -}; - -struct _SpiRelationClass { - SpiBaseClass parent_class; - POA_Accessibility_Relation__epv epv; -}; - -GType spi_relation_get_type (void); -SpiRelation *spi_relation_new (AtkRelation *relation); - -G_END_DECLS - -#endif /* SPI_RELATION_H_ */ diff --git a/atk-adaptor/remoteobject.c b/atk-adaptor/remoteobject.c deleted file mode 100644 index b38ff19..0000000 --- a/atk-adaptor/remoteobject.c +++ /dev/null @@ -1,61 +0,0 @@ -/* AT-SPI : Assistive Technology Service Provider Interface - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#include -#include "remoteobject.h" - -Accessibility_Accessible -spi_remote_object_get_accessible (SpiRemoteObject *remote) -{ - SpiRemoteObjectIface *iface; - - g_return_val_if_fail (SPI_IS_REMOTE_OBJECT (remote), CORBA_OBJECT_NIL); - - iface = SPI_REMOTE_OBJECT_GET_IFACE (remote); - - if (!iface->get_accessible) - return CORBA_OBJECT_NIL; - - return iface->get_accessible (remote); -} - -GType -spi_remote_object_get_type (void) -{ - static GType type = 0; - - if (!type) - { - static const GTypeInfo typeInfo = - { - sizeof (SpiRemoteObjectIface), - (GBaseInitFunc) NULL, - (GBaseFinalizeFunc) NULL, - (GClassInitFunc) NULL, - (GClassFinalizeFunc) NULL, - NULL, 0, 0, - (GInstanceInitFunc) NULL, - }; - - type = g_type_register_static (G_TYPE_INTERFACE, "SpiRemoteObject", &typeInfo, 0) ; - } - - return type; -} diff --git a/atk-adaptor/remoteobject.h b/atk-adaptor/remoteobject.h deleted file mode 100644 index 915478c..0000000 --- a/atk-adaptor/remoteobject.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_REMOTE_OBJECT_H_ -#define SPI_REMOTE_OBJECT_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_TYPE_REMOTE_OBJECT (spi_remote_object_get_type ()) -#define SPI_IS_REMOTE_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SPI_TYPE_REMOTE_OBJECT)) -#define SPI_REMOTE_OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_TYPE_REMOTE_OBJECT, SpiRemoteObject)) -#define SPI_REMOTE_OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), SPI_TYPE_REMOTE_OBJECT, SpiRemoteObjectIface)) - -typedef struct _SpiRemoteObject SpiRemoteObject; -typedef struct _SpiRemoteObjectIface SpiRemoteObjectIface; - -struct _SpiRemoteObjectIface { - GTypeInterface base_iface; - - Accessibility_Accessible (*get_accessible) (SpiRemoteObject *o); -}; - -GType spi_remote_object_get_type (void); -Accessibility_Accessible spi_remote_object_get_accessible (SpiRemoteObject *o); - -G_END_DECLS - -#endif /* SPI_REMOTE_OBJECT_H_ */ - diff --git a/atk-adaptor/selection.h b/atk-adaptor/selection.h deleted file mode 100644 index f888cb3..0000000 --- a/atk-adaptor/selection.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_SELECTION_H_ -#define SPI_SELECTION_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_SELECTION_TYPE (spi_selection_get_type ()) -#define SPI_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_SELECTION_TYPE, SpiSelection)) -#define SPI_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_SELECTION_TYPE, SpiSelectionClass)) -#define SPI_IS_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_SELECTION_TYPE)) -#define SPI_IS_SELECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_SELECTION_TYPE)) - -typedef struct _SpiSelection SpiSelection; -typedef struct _SpiSelectionClass SpiSelectionClass; - -struct _SpiSelection { - SpiBase parent; -}; - -struct _SpiSelectionClass { - SpiBaseClass parent_class; - POA_Accessibility_Selection__epv epv; -}; - -GType spi_selection_get_type (void); -SpiSelection *spi_selection_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_SELECTION_H_ */ diff --git a/atk-adaptor/spi-private.h b/atk-adaptor/spi-private.h deleted file mode 100644 index aff2ecb..0000000 --- a/atk-adaptor/spi-private.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_PRIVATE_H_ -#define SPI_PRIVATE_H_ - -#include -#include - -#include - -G_BEGIN_DECLS - -Accessibility_Role spi_role_from_atk_role (AtkRole role); -G_END_DECLS - -#endif /* SPI_PRIVATE_H_ */ diff --git a/atk-adaptor/streamablecontent.h b/atk-adaptor/streamablecontent.h deleted file mode 100644 index 666652a..0000000 --- a/atk-adaptor/streamablecontent.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_STREAMABLECONTENT_H_ -#define SPI_STREAMABLECONTENT_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_STREAMABLE_TYPE (spi_streamable_get_type ()) -#define SPI_STREAMABLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SPI_STREAMABLE_TYPE, SpiStreamable)) -#define SPI_STREAMABLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), SPI_STREAMABLE_TYPE, SpiStreamableClass)) -#define SPI_IS_STREAMABLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SPI_STREAMABLE_TYPE)) -#define SPI_IS_STREAMABLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), SPI_STREAMABLE_TYPE)) - -typedef struct { - SpiBase parent; -} SpiStreamable; - -typedef struct { - SpiBaseClass parent_class; - POA_Accessibility_StreamableContent__epv epv; -} SpiStreamableClass; - -GType spi_streamable_get_type (void); -SpiStreamable *spi_streamable_interface_new (AtkObject *o); - -G_END_DECLS - -#endif /* SPI_STREAMABLECONTENT_H_ */ diff --git a/atk-adaptor/table.h b/atk-adaptor/table.h deleted file mode 100644 index ce597a1..0000000 --- a/atk-adaptor/table.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_TABLE_H_ -#define SPI_TABLE_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_TABLE_TYPE (spi_table_get_type ()) -#define SPI_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_TABLE_TYPE, SpiTable)) -#define SPI_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_TABLE_TYPE, SpiTableClass)) -#define IS_TABLE(obj) (G_TYPE_CHECK__INSTANCE_TYPE ((obj), SPI_TABLE_TYPE)) -#define IS_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_TABLE_TYPE)) - -typedef struct _SpiTable SpiTable; -typedef struct _SpiTableClass SpiTableClass; - -struct _SpiTable { - SpiBase parent; -}; - -struct _SpiTableClass { - SpiBaseClass parent_class; - POA_Accessibility_Table__epv epv; -}; - -GType spi_table_get_type (void); -SpiTable *spi_table_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_TABLE_H_ */ diff --git a/atk-adaptor/text.h b/atk-adaptor/text.h deleted file mode 100644 index fb87b31..0000000 --- a/atk-adaptor/text.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_TEXT_H_ -#define SPI_TEXT_H_ - -#include - -G_BEGIN_DECLS - -#define SPI_TEXT_TYPE (spi_text_get_type ()) -#define SPI_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_TEXT_TYPE, SpiText)) -#define SPI_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_TEXT_TYPE, SpiTextClass)) -#define IS_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_TEXT_TYPE)) -#define IS_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_TEXT_TYPE)) - -typedef struct _SpiText SpiText; -typedef struct _SpiTextClass SpiTextClass; - -struct _SpiText { - SpiBase parent; -}; - -struct _SpiTextClass { - SpiBaseClass parent_class; - POA_Accessibility_Text__epv epv; -}; - -GType spi_text_get_type (void); -void spi_text_construct (SpiText *text, - AtkObject *obj); -SpiText *spi_text_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_TEXT_H_ */ diff --git a/atk-adaptor/util.c b/atk-adaptor/util.c deleted file mode 100644 index 27d6f93..0000000 --- a/atk-adaptor/util.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#include -#include - -#include "spi-private.h" - -Accessibility_Role spi_accessible_role_from_atk_role (AtkRole role); - -Accessibility_Role -spi_role_from_atk_role (AtkRole role) -{ - return spi_accessible_role_from_atk_role (role); -} diff --git a/atk-adaptor/value.h b/atk-adaptor/value.h deleted file mode 100644 index 94e9378..0000000 --- a/atk-adaptor/value.h +++ /dev/null @@ -1,55 +0,0 @@ -/* - * AT-SPI - Assistive Technology Service Provider Interface - * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) - * - * Copyright 2001, 2002 Sun Microsystems Inc., - * Copyright 2001, 2002 Ximian, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef SPI_VALUE_H_ -#define SPI_VALUE_H_ - -#include -#include - -G_BEGIN_DECLS - -#define SPI_VALUE_TYPE (spi_value_get_type ()) -#define SPI_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPI_VALUE_TYPE, SpiValue)) -#define SPI_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), SPI_VALUE_TYPE, SpiValueClass)) -#define SPI_IS_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SPI_VALUE_TYPE)) -#define SPI_IS_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SPI_VALUE_TYPE)) - -typedef struct _Value SpiValue; -typedef struct _ValueClass SpiValueClass; - -struct _Value { - SpiBase parent; -}; - -struct _ValueClass { - SpiBaseClass parent_class; - POA_Accessibility_Value__epv epv; -}; - -GType spi_value_get_type (void); -SpiValue *spi_value_interface_new (AtkObject *obj); - -G_END_DECLS - -#endif /* SPI_VALUE_H_ */ -- 2.7.4