summaryrefslogtreecommitdiff
path: root/atspi/atspi-component.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2010-11-16 06:14:25 -0500
committerMike Gorse <mgorse@novell.com>2010-11-17 07:29:52 -0500
commit56b5b8e5721d2f2ef427e107d5e3bee8dcf69457 (patch)
tree50745606f7542734919d3747b6af61df273c0650 /atspi/atspi-component.h
parentacfcea02b3d24e20ed9b6276cd1861774e01fa4b (diff)
downloadat-spi2-core-56b5b8e5721d2f2ef427e107d5e3bee8dcf69457.tar.gz
Various component fixes, and fix dbind_method_call_reentrant_va
Diffstat (limited to 'atspi/atspi-component.h')
-rw-r--r--atspi/atspi-component.h25
1 files changed, 10 insertions, 15 deletions
diff --git a/atspi/atspi-component.h b/atspi/atspi-component.h
index 86fa5c35..1a0d5bdb 100644
--- a/atspi/atspi-component.h
+++ b/atspi/atspi-component.h
@@ -27,9 +27,10 @@
#include "glib-object.h"
-#include "atspi-accessible.h"
#include "atspi-constants.h"
+#include "atspi-types.h"
+
typedef struct _AtspiRect AtspiRect;
struct _AtspiRect
{
@@ -46,6 +47,8 @@ struct _AtspiRect
*/
#define ATSPI_TYPE_RECT (atspi_rect_get_type ())
+GType atspi_rect_get_type ();
+
typedef struct _AtspiPoint AtspiPoint;
struct _AtspiPoint
{
@@ -60,6 +63,8 @@ struct _AtspiPoint
*/
#define ATSPI_TYPE_POINT (atspi_point_get_type ())
+GType atspi_point_get_type ();
+
#define ATSPI_TYPE_COMPONENT (atspi_component_get_type ())
#define ATSPI_IS_COMPONENT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), ATSPI_TYPE_COMPONENT)
#define ATSPI_COMPONENT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_COMPONENT, AtspiComponent)
@@ -70,27 +75,17 @@ GType atspi_component_get_type ();
struct _AtspiComponent
{
GTypeInterface parent;
- gboolean (*contains) (AtspiComponent *component, gint x, gint y, AtspiCoordType ctype, GError **error);
- AtspiAccessible *(*ref_accessible_at_point) (AtspiComponent *component, gint x, gint y, AtspiCoordType ctype, GError **error);
- AtspiRect (*get_extents) (AtspiComponent *component, gint *x, gint *y, gint *width, gint *height, AtspiCoordType ctype, GError **error);
- AtspiPoint (*get_position) (AtspiComponent *component, AtspiCoordType ctype, GError **error);
- AtspiPoint (*get_size) (AtspiComponent *component, GError **error);
- AtspiComponentLayer (*get_layer) (AtspiComponent *component, GError **error);
-
- gshort (*get_mdi_z_order) (AtspiComponent *component, GError **error);
- gboolean (*grab_focus) (AtspiComponent *component, GError **error);
- gdouble (*get_alpha) (AtspiComponent *component, GError **error);
};
gboolean atspi_component_contains (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
-AtspiAccessible *atspi_component_ref_accessible_at_point (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
+AtspiAccessible *atspi_component_get_accessible_at_point (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
-AtspiRect atspi_component_get_extents (AtspiComponent *obj, gint *x, gint *y, gint *width, gint *height, AtspiCoordType ctype, GError **error);
+AtspiRect *atspi_component_get_extents (AtspiComponent *obj, AtspiCoordType ctype, GError **error);
-AtspiPoint atspi_component_get_position (AtspiComponent *obj, AtspiCoordType ctype, GError **error);
+AtspiPoint *atspi_component_get_position (AtspiComponent *obj, AtspiCoordType ctype, GError **error);
-AtspiPoint atspi_component_get_size (AtspiComponent *obj, GError **error);
+AtspiPoint *atspi_component_get_size (AtspiComponent *obj, GError **error);
AtspiComponentLayer atspi_component_get_layer (AtspiComponent *obj, GError **error);