X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi-impl.h;h=60049b334b2f1acdedcf9f48c67a7f1e295a478d;hb=39ba4c94f2925b59df2931a02f7537a61a6690da;hp=a81a821fd5760819b0a183c388f13d195da1b3a3;hpb=3f3795dd1c05e3d7f106b1bee1d1f3baf3724569;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi-impl.h b/cspi/spi-impl.h index a81a821..60049b3 100644 --- a/cspi/spi-impl.h +++ b/cspi/spi-impl.h @@ -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; @@ -49,13 +60,38 @@ typedef Accessible AccessibleText; typedef Accessible AccessibleValue; typedef Accessible AccessibilityRegistry; +/** + * AccessibleStateSet: + * @ref_count: private + * @states: private + * + * An opaque structure representing an accessible object's state, + * which can then be queried via AccessibleStateSet APIs. + **/ typedef void AccessibleStateSet; typedef void AccessibleEventListener; 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 }