diff options
author | liyuan <liyuan@e2bd861d-eb25-0410-b326-f6ed22b6b98c> | 2008-02-27 02:57:18 +0000 |
---|---|---|
committer | liyuan <liyuan@e2bd861d-eb25-0410-b326-f6ed22b6b98c> | 2008-02-27 02:57:18 +0000 |
commit | 086a10cff6bf7cc93a1dcda79950cd69752d0545 (patch) | |
tree | 9dc0287eab49d2c8db7bbfee7cbdaca12091da83 /idl | |
parent | e4fe5716d7af454d9394d48dafae64b70343abb1 (diff) | |
download | at-spi2-core-086a10cff6bf7cc93a1dcda79950cd69752d0545.tar.gz |
2008-02-27 Ariel Rios <ariel@gnu.org>
* idl/Accessibility_Collection.idl:(getMatchesTo,
getMatchesFrom) API Change that adds in order querys.
* libspi/collection.c:
(sort_order_rev_canonical): Method to do querys and get results in
canonical reverse. New.
(inorder): Help method for getMatchesInOrder.
(getMatchesInOrder):New method to get next matches from a given object
in order.
(getMatchesInBackOrder): New method to get previous matches from a
given object in order.
(getMatchesFrom), (getMatchesTo): Old impl_getMatches[From/To] to be
able to accomodate in order querys.
(impl_getMatchesFrom), (impl_getMatchesTo): New implementation that
accomodate in order querys.
(spi_collection_interface_new),
(get_collection_from_servant), (impl_createMatchRule),
(child_interface_p), (match_states_all_p), (match_states_any_p),
(match_states_none_p), (match_states_lookup), (match_roles_all_p),
(match_roles_any_p), (match_roles_none_p), (match_roles_lookup),
(match_interfaces_all_p), (match_interfaces_any_p),
(match_interfaces_none_p), (match_interfaces_lookup),
(match_attributes_all_p), (match_attributes_any_p),
(match_attributes_none_p), (match_attributes_lookup), (traverse_p),
(sort_order_canonical), (query_exec), (impl_getMatches),
(spi_collection_init): Clean code.
Bug #496232. Work by Ariel Rios <ariel@gnu.org> and
Scott Haeger <scott@bashautomation.com>.
git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@988 e2bd861d-eb25-0410-b326-f6ed22b6b98c
Diffstat (limited to 'idl')
-rw-r--r-- | idl/Accessibility_Collection.idl | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/idl/Accessibility_Collection.idl b/idl/Accessibility_Collection.idl index 8a243a73..5f23f63e 100644 --- a/idl/Accessibility_Collection.idl +++ b/idl/Accessibility_Collection.idl @@ -55,6 +55,13 @@ module Accessibility { MATCH_LAST_DEFINED }; + enum TreeTraversalType { + + TREE_RESTRICT_CHILDREN, + TREE_RESTRICT_SIBLING, + TREE_INORDER, + TREE_LAST_DEFINED + }; boolean isAncestorOf (in Accessible object); @@ -74,21 +81,22 @@ module Accessibility { in SortOrder sortby, in long count, in boolean traverse); - + AccessibleSet getMatchesTo (in Accessible current_object, - in MatchRule rule, - in SortOrder sortby, - in boolean recurse, - in long count, - in boolean traverse); + in MatchRule rule, + in SortOrder sortby, + in TreeTraversalType tree, + in boolean recurse, + in long count, + in boolean traverse); AccessibleSet getMatchesFrom (in Accessible current_object, - in MatchRule rule, - in SortOrder sortby, - in boolean isrestrict, - in long count, - in boolean traverse); + in MatchRule rule, + in SortOrder sortby, + in TreeTraversalType tree, + in long count, + in boolean traverse); Accessible getActiveDescendant (); |