[prevent][42870] Fix for null pointer dereference
[platform/upstream/at-spi2-core.git] / atspi / atspi-component.h
index c94147c..4363e55 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Copyright 2002 Ximian, Inc.
  *           2002 Sun Microsystems Inc.
- *           
+ *
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Library General Public
@@ -31,6 +31,8 @@
 
 #include "atspi-types.h"
 
+G_BEGIN_DECLS
+
 typedef struct _AtspiRect AtspiRect;
 struct _AtspiRect
 {
@@ -42,7 +44,7 @@ struct _AtspiRect
 
 /**
  * ATSPI_TYPE_RECT:
- * 
+ *
  * The #GType for a boxed type holding a #AtspiRect.
  */
 #define        ATSPI_TYPE_RECT (atspi_rect_get_type ())
@@ -60,7 +62,7 @@ struct _AtspiPoint
 
 /**
  * ATSPI_TYPE_POINT:
- * 
+ *
  * The #GType for a boxed type holding a #AtspiPoint.
  */
 #define        ATSPI_TYPE_POINT (atspi_point_get_type ())
@@ -104,4 +106,13 @@ gboolean atspi_component_set_extents (AtspiComponent *obj, gint x, gint y, gint
 gboolean atspi_component_set_position (AtspiComponent *obj, gint x, gint y, AtspiCoordType ctype, GError **error);
 
 gboolean atspi_component_set_size (AtspiComponent *obj, gint width, gint height, GError **error);
+
+gboolean atspi_component_grab_highlight (AtspiComponent *obj, GError **error);
+
+gboolean atspi_component_clear_highlight (AtspiComponent *obj, GError **error);
+
+int atspi_component_get_highlight_index(AtspiComponent *obj, GError **error);
+
+G_END_DECLS
+
 #endif /* _ATSPI_COMPONENT_H_ */