2002-03-19 Michael Meeks <michael@ximian.com>
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-impl.h
index 82779f2..3af1f00 100644 (file)
@@ -1,34 +1,40 @@
 /*
- * Note: this header is a private implementation header, clients of
- *       the at-spi interfaces or the C bindings in libcspi should
- *       not depend on any of the information in this file directly,
- *       as it it not intended for use as a public interface.
- *
- *    You have been warned !
+ * A load of opaque handles that people can't poke at.
  */
-
 #ifndef _SPI_IMPL_H_
 #define _SPI_IMPL_H_
 
-#include <orbit/orbit.h>
-#include "Accessibility.h"
-
-typedef unsigned int boolean;
-
-typedef CORBA_Object Accessible;
-typedef CORBA_Object AccessibleAction;
-typedef CORBA_Object AccessibleApplication;
-typedef CORBA_Object AccessibleComponent;
-typedef CORBA_Object AccessibleEditableText;
-typedef CORBA_Object AccessibleHyperlink;
-typedef CORBA_Object AccessibleHypertext;
-typedef CORBA_Object AccessibleImage;
-typedef CORBA_Object AccessibleRelation;
-typedef CORBA_Object AccessibleSelection;
-typedef CORBA_Object AccessibleStateSet;
-typedef CORBA_Object AccessibleTable;
-typedef CORBA_Object AccessibleText;
-typedef CORBA_Object AccessibleValue;
-typedef CORBA_Object AccessibilityRegistry;
+#ifdef  __cplusplus
+extern "C" {
+#endif
+
+typedef struct _Accessible AccessibleUnknown;
+typedef AccessibleUnknown  Accessible;
+
+typedef Accessible AccessibleAction;
+typedef Accessible AccessibleApplication;
+typedef Accessible AccessibleComponent;
+typedef Accessible AccessibleEditableText;
+typedef Accessible AccessibleHyperlink;
+typedef Accessible AccessibleHypertext;
+typedef Accessible AccessibleImage;
+typedef Accessible AccessibleRelation;
+typedef Accessible AccessibleSelection;
+typedef Accessible AccessibleStateSet;
+typedef Accessible AccessibleStreamableContent;
+typedef Accessible AccessibleTable;
+typedef Accessible AccessibleText;
+typedef Accessible AccessibleValue;
+typedef Accessible AccessibilityRegistry;
+
+typedef void AccessibleEventListener;
+typedef void AccessibleKeystrokeListener;
+
+typedef unsigned int SPIBoolean;
+
+
+#ifdef  __cplusplus
+}
+#endif
 
 #endif