BGO#652596: Allow setting CurrentValue via dbus properties interface again
[platform/core/uifw/at-spi2-atk.git] / cspi / spi-impl.h
index 829c6c3..60049b3 100644 (file)
@@ -36,12 +36,23 @@ typedef AccessibleUnknown  Accessible;
 
 typedef Accessible AccessibleAction;
 typedef Accessible AccessibleApplication;
+typedef Accessible AccessibleCollection;
 typedef Accessible AccessibleComponent;
+typedef Accessible AccessibleDocument;
 typedef Accessible AccessibleEditableText;
 typedef Accessible AccessibleHyperlink;
 typedef Accessible AccessibleHypertext;
 typedef Accessible AccessibleImage;
-typedef Accessible AccessibleRelation;
+typedef Accessible AccessibleMatchRule;
+
+typedef struct _AccessibleRelation AccessibleRelation;
+struct _AccessibleRelation
+{
+  gint ref_count;
+  Accessibility_RelationType type;
+  GArray *targets;
+};
+
 typedef Accessible AccessibleSelection;
 typedef Accessible AccessibleStreamableContent;
 typedef Accessible AccessibleTable;
@@ -63,7 +74,24 @@ typedef void AccessibleKeystrokeListener;
 typedef void AccessibleDeviceListener;
 
 typedef unsigned int SPIBoolean;
+#define SPI_FALSE (0)
+#define SPI_TRUE (!SPI_FALSE)
 
+/**
+ * SPIRect:
+ * @x: The position of the minimum x value of the rectangle (i.e. left hand corner)
+ * @y: The position of the minimum y value of the rectangle's bounds.
+ * @width: Width of the rectangle in pixels.
+ * @height: Height of the rectangle in pixels.
+ *
+ * A structure encapsulating a rectangle. 
+ **/
+typedef struct {
+       long x;
+       long y;
+       long width;
+       long height;
+} SPIRect;
 
 #ifdef  __cplusplus
 }