[AT-SPI] Change the type of Control::Impl::mAccessibilityRelations 09/267109/2
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 25 Nov 2021 13:38:45 +0000 (14:38 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Fri, 26 Nov 2021 09:14:52 +0000 (10:14 +0100)
commita9d56fc12792cd84a5d41568dc0bbf26157f4334
tree833f089fc093ec0c4ceb18f04093f4bb042200eb
parent7c13cc0c065ae22e7ad0deaea4f56730ff050c5c
[AT-SPI] Change the type of Control::Impl::mAccessibilityRelations

This patch changes the relation's target type from
`Accessibility::Address` to `Accessibility::Accessible*`.
`AppendAccessibilityRelation()` does not allow to specify a remote
object anyway, because the parameter types are `Actor`s.

Moreover, the `Address` may be incomplete (specifically the
DBus-dependent part) if the above API is called too early. With this
change, the `Accessible::GetAddress()` call is postponed until the
relations are queried over DBus.

Change-Id: I881d7fb90eba79b6ba9752e913d113272485e29a
dali-toolkit/devel-api/controls/accessible-impl.cpp
dali-toolkit/devel-api/controls/control-devel.cpp
dali-toolkit/internal/controls/control/control-data-impl.h