+++ /dev/null
-/*
- * 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 <libspi/base.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/accessible.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <config.h>
-#include <stdio.h>
-#include <libspi/libspi.h>
-
-/* 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;
-}
+++ /dev/null
-/*
- * 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 <glib/gmacros.h>
-#include <atk/atkobject.h>
-#include <bonobo/bonobo-object.h>
-#include <libspi/Accessibility.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-
-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_ */
-
-
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkcomponent.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <config.h>
-#ifdef SPI_DEBUG
-# include <stdio.h>
-#endif
-#include <libspi/listener.h>
-#include <libspi/devicelistener.h>
-
-/* 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;
-}
+++ /dev/null
-/*
- * 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 <bonobo/bonobo-object.h>
-#include <atk/atkobject.h>
-#include <libspi/Accessibility.h>
-#include <spi-common/keymasks.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkdocument.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/text.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <config.h>
-#ifdef SPI_DEBUG
-#include <stdio.h>
-#endif
-#include <libspi/eventlistener.h>
-
-/* 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;
-}
+++ /dev/null
-/*
- * 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 <libspi/listener.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkhyperlink.h>
-#include <atk/atkhyperlinkimpl.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/text.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkimage.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/devicelistener.h>
-
-#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_ */
+++ /dev/null
-/*
- * 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 <libspi/Accessibility.h>
-#include <libspi/accessible.h>
-#include <libspi/action.h>
-#include <libspi/application.h>
-#include <libspi/collection.h>
-#include <libspi/component.h>
-#include <libspi/document.h>
-#include <libspi/editabletext.h>
-#include <libspi/hyperlink.h>
-#include <libspi/hypertext.h>
-#include <libspi/image.h>
-#include <libspi/relation.h>
-#include <libspi/selection.h>
-#include <libspi/stateset.h>
-#include <libspi/table.h>
-#include <libspi/text.h>
-#include <libspi/value.h>
-#include <libspi/listener.h>
-#include <libspi/eventlistener.h>
-#include <libspi/devicelistener.h>
-#include <spi-common/keymasks.h>
-#include <libspi/remoteobject.h>
-#include <libspi/streamablecontent.h>
-
-#endif /* LIBSPI_H_ */
+++ /dev/null
-/*
- * 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 <stdio.h>
-#endif
-
-#include <config.h>
-#include <libspi/listener.h>
-
-/* 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;
-}
+++ /dev/null
-/*
- * 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 <bonobo/bonobo-object.h>
-#include <atk/atkobject.h>
-#include <libspi/Accessibility.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <config.h>
-#include <stdio.h>
-#include <bonobo/bonobo-exception.h>
-#include <libspi/matchrule.h>
-#include <libspi/spi-private.h>
-
-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)
-
-
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkrelation.h>
-
-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_ */
+++ /dev/null
-/* 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 <config.h>
-#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;
-}
+++ /dev/null
-/*
- * 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 <glib-object.h>
-#include <libspi/Accessibility.h>
-
-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_ */
-
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkselection.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <glib/glist.h>
-#include <atk/atk.h>
-
-#include <spi-common/spi-types.h>
-
-G_BEGIN_DECLS
-
-Accessibility_Role spi_role_from_atk_role (AtkRole role);
-G_END_DECLS
-
-#endif /* SPI_PRIVATE_H_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkstreamablecontent.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-
-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_ */
+++ /dev/null
-/*
- * 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 <config.h>
-#include <spi-common/spi-types.h>
-
-#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);
-}
+++ /dev/null
-/*
- * 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 <libspi/base.h>
-#include <atk/atkvalue.h>
-
-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_ */