Fix for 95827, adds API for registering "AccessibleDeviceListeners"
[platform/core/uifw/at-spi2-atk.git] / libspi / text.h
index f8fe59f..fb87b31 100644 (file)
@@ -1,5 +1,9 @@
-/* AT-SPI -  Assistive Technology Service Provider Interface
- * Copyright 2001 Sun Microsystems Inc.
+/*
+ * 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
 #ifndef SPI_TEXT_H_
 #define SPI_TEXT_H_
 
-#include <bonobo/bonobo-object.h>
-#include <atk/atk.h>
-#include <libspi/Accessibility.h>
-#include <libspi/accessible.h>
+#include <libspi/base.h>
 
 G_BEGIN_DECLS
 
@@ -37,16 +38,17 @@ typedef struct _SpiText      SpiText;
 typedef struct _SpiTextClass SpiTextClass;
 
 struct _SpiText {
-  BonoboObject parent;
-  AtkObject *atko;
+  SpiBase parent;
 };
 
 struct _SpiTextClass {
-  BonoboObjectClass parent_class;
+  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