summaryrefslogtreecommitdiff
path: root/atspi/atspi-accessible.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2011-05-22 18:37:27 -0500
committerMike Gorse <mgorse@novell.com>2011-05-22 18:41:28 -0500
commit78beee3d5f5f919fd2ec1ed99bef9a4126c0b56c (patch)
treeef745a02f400c75e4f1ff9e40c5e799b20aba32a /atspi/atspi-accessible.h
parent9ed3925b0769fe068bc2ac31910770a93a5129e9 (diff)
downloadat-spi2-core-78beee3d5f5f919fd2ec1ed99bef9a4126c0b56c.tar.gz
Fix/rework selective caching
Previously, atspi_accessible_set_cache_mask would not affect accessibles which were already cached, but this was not very useful, as caching is done automatically when a new app is discovered. Functions that may retrieve cached data now test the cache setting for the application--not just whether there is a value stored for the data--whe ndetermining whether to call the app. Also, annotate atspi_accessible_set_cache_mask as a gint. This is temporary; properly generating GTypes for enums/flags is TODO for 2.2.
Diffstat (limited to 'atspi/atspi-accessible.h')
-rw-r--r--atspi/atspi-accessible.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h
index 3dca6208..72c2bbec 100644
--- a/atspi/atspi-accessible.h
+++ b/atspi/atspi-accessible.h
@@ -131,4 +131,5 @@ void atspi_accessible_set_cache_mask (AtspiAccessible *accessible, AtspiCache ma
/* private */
void _atspi_accessible_add_cache (AtspiAccessible *accessible, AtspiCache flag);
+gboolean _atspi_accessible_test_cache (AtspiAccessible *accessible, AtspiCache flag);
#endif /* _ATSPI_ACCESSIBLE_H_ */