diff options
author | Mike Gorse <mgorse@novell.com> | 2010-11-24 14:40:21 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-11-24 14:40:21 -0500 |
commit | 6f0884d36ef773439675a36090711071c4030ffd (patch) | |
tree | 7163d7ca1dd7cb446786ed0abe9bcfb346aeeae3 /atspi/atspi-stateset.h | |
parent | 1261f77b828844e305cbd9fa6e4ad2c2156f8f8a (diff) | |
download | at-spi2-core-6f0884d36ef773439675a36090711071c4030ffd.tar.gz |
State and action fixes
Diffstat (limited to 'atspi/atspi-stateset.h')
-rw-r--r-- | atspi/atspi-stateset.h | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/atspi/atspi-stateset.h b/atspi/atspi-stateset.h index 6b674e42..948b3ee4 100644 --- a/atspi/atspi-stateset.h +++ b/atspi/atspi-stateset.h @@ -24,8 +24,24 @@ struct _AtspiStateSetClass GType atspi_state_set_get_type (void); -AtspiStateSet * -atspi_state_set_new (struct _AtspiAccessible *accessible, gint64 states); +AtspiStateSet * atspi_state_set_new (GArray *states); + +void atspi_state_set_set_by_name (AtspiStateSet *set, const gchar *name, gboolean enabled); + +void atspi_state_set_add (AtspiStateSet *set, AtspiStateType state); + +AtspiStateSet * atspi_state_set_compare (AtspiStateSet *set, AtspiStateSet *set2); gboolean atspi_state_set_contains (AtspiStateSet *set, AtspiStateType state); + +gboolean atspi_state_set_equals (AtspiStateSet *set, AtspiStateSet *set2); + +GArray * atspi_state_set_get_states (AtspiStateSet *set); + +gboolean atspi_state_set_is_empty (AtspiStateSet *set); + +void atspi_state_set_remove (AtspiStateSet *set, AtspiStateType state); + +AtspiStateSet * _atspi_state_set_new_internal (struct _AtspiAccessible *accessible, gint64 states); + #endif /* _ATSPI_STATE_SET_H_ */ |