diff options
author | Mike Gorse <mgorse@novell.com> | 2011-05-26 17:27:28 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2011-05-26 17:27:28 -0500 |
commit | ee59329278ddd73b7371e278b6e4f1f306ba2da6 (patch) | |
tree | a7448d6dc0b62b562621d3339cd8b8dcbe3fefb9 /atspi/atspi-accessible.h | |
parent | 73b811b78954dfb0f8b407354c146d9fbd47dea3 (diff) | |
download | at-spi2-core-ee59329278ddd73b7371e278b6e4f1f306ba2da6.tar.gz |
Allow caching of attributes
Attributes can now be cached, but not enabling by default, since there
is currently no event to notify AT-SPI that attributes have changed (see
BGO#649771), so this is dangerous but may improve performance if we can
reliably assume that attributes will not change.
Diffstat (limited to 'atspi/atspi-accessible.h')
-rw-r--r-- | atspi/atspi-accessible.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h index d9e6e55e..bbee0cea 100644 --- a/atspi/atspi-accessible.h +++ b/atspi/atspi-accessible.h @@ -51,6 +51,7 @@ struct _AtspiAccessible char *name; char *description; AtspiStateSet *states; + GHashTable *attributes; guint cached_properties; }; @@ -133,5 +134,6 @@ void atspi_accessible_clear_cache (AtspiAccessible *accessible); /* private */ void _atspi_accessible_add_cache (AtspiAccessible *accessible, AtspiCache flag); +AtspiCache _atspi_accessible_get_cache_mask (AtspiAccessible *accessible); gboolean _atspi_accessible_test_cache (AtspiAccessible *accessible, AtspiCache flag); #endif /* _ATSPI_ACCESSIBLE_H_ */ |