From: Radoslaw Cybulski Date: Wed, 3 Jul 2019 12:14:16 +0000 (+0200) Subject: atspi: add paused / resumed speaking notification handling X-Git-Tag: submit/tizen/20190805.083058~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4331896d0fe75a8ab6ef8108ad5af3eedaee9ae3;p=platform%2Fupstream%2Fefl.git atspi: add paused / resumed speaking notification handling @tizen_only Change-Id: I5110fffc7dc965cca0ca675aa1b30772bc98dd07 --- diff --git a/src/lib/elementary/efl_access_widget_action.c b/src/lib/elementary/efl_access_widget_action.c index d065cef..4ee9389 100644 --- a/src/lib/elementary/efl_access_widget_action.c +++ b/src/lib/elementary/efl_access_widget_action.c @@ -21,6 +21,8 @@ _efl_access_widget_action_efl_access_action_action_name_get(const Eo *obj, void static const char SIG_READ_STOP[] = "access,read,stop"; static const char SIG_READ_CANCEL[] = "access,read,cancel"; static const char SIG_READ_SKIP[] = "access,read,skip"; +static const char SIG_READ_PAUSE[] = "access,read,pause"; +static const char SIG_READ_RESUME[] = "access,read,resume"; static const char * _read_signal_get(const char *action_name) @@ -37,6 +39,15 @@ _read_signal_get(const char *action_name) { return SIG_READ_SKIP; } + if (!strcmp("ReadingPaused", action_name)) + { + return SIG_READ_PAUSE; + } + if (!strcmp("ReadingResumed", action_name)) + { + return SIG_READ_RESUME; + } + ERR("unknown signal received '%s'", action_name); return NULL; } //