[AT-SPI] Add Bridge::{Enabled,Disabled}Signal() 49/266049/2
authorArtur Świgoń <a.swigon@samsung.com>
Thu, 4 Nov 2021 19:11:39 +0000 (20:11 +0100)
committerArtur Świgoń <a.swigon@samsung.com>
Tue, 9 Nov 2021 10:46:29 +0000 (11:46 +0100)
commit93492c5bc9f16bc609650f7ec06b89aacafacd64
tree3da0e7ada89a71601c166e0fd8340f0fceb7ba91
parent35a69f969e231cd18c12302ea255b7a614b6b1d3
[AT-SPI] Add Bridge::{Enabled,Disabled}Signal()

These signals are emitted whenever the AT-SPI bridge is turned on or
off. Note that `EnabledSignal` is only emitted for the first `ForceUp`
call, i.e. the one that returns `ForceUpResult::JUST_STARTED` (and
a similar story for `DisabledSignal`).

These signals are necessarily static members of `Bridge`, to guarantee
that they are delivered to consumers even in those use cases in which
the object returned by `GetCurrentBridge()` changes during the lifetime
of the application.

Change-Id: Id266b7ed064b8b2690e093804c3f7d23ac4347ce
dali/devel-api/adaptor-framework/accessibility-impl.h
dali/internal/accessibility/bridge/bridge-impl.cpp