2001-11-13 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi.c
1 #include <libbonobo.h>
2 #include <stdio.h>
3 #include "spi.h"
4
5 static CORBA_Environment ev;
6 static AccessibilityRegistry registry;
7
8 static SpiAccessible *
9 Obj_Add (SpiAccessible object)
10 {
11   /* TODO: keep list of live object refs */
12   SpiAccessible *oref = NULL;
13   if (!CORBA_Object_is_nil (object, &ev))
14   {
15           oref = g_malloc (sizeof (SpiAccessible));
16           *oref = object;
17   }
18   return oref;
19 }
20
21 /* temporary hack until we restructure these sources */
22
23 #include "spi_main.c"
24 #include "spi_event.c"
25 #include "spi_registry.c"
26 #include "spi_application.c"
27 #include "spi-util.c"
28 #include "spi_accessible.c"
29 #include "spi_action.c"
30 #include "spi_component.c"
31 #include "spi_editabletext.c"
32 #include "spi_hyperlink.c"
33 #include "spi_hypertext.c"
34 #include "spi_image.c"
35 #include "spi_selection.c"
36 #include "spi_table.c"
37 #include "spi_text.c"
38 #include "spi_value.c"