diff options
author | Mike Gorse <mgorse@alum.wpi.edu> | 2019-07-18 18:21:09 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@alum.wpi.edu> | 2019-07-18 18:21:09 -0500 |
commit | 36a621aa17ed27be55cd9f16a1f7b29904cb510c (patch) | |
tree | aab19c716716c0d831a3f180e88bddd6b9b60e90 /atspi/atspi-accessible.h | |
parent | 5604b79d72179708b218ddaaf226fc38614ca4a9 (diff) | |
download | at-spi2-core-36a621aa17ed27be55cd9f16a1f7b29904cb510c.tar.gz |
Refactor the API for the screen reader to notify listeners of its status
Remove atspi_text_notify_reading_position, and instead add a region_changed
signal. Also make the dbus API more like the API used for other events.
Per discussion at https://gitlab.gnome.org/GNOME/orca/issues/36
Diffstat (limited to 'atspi/atspi-accessible.h')
-rw-r--r-- | atspi/atspi-accessible.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/atspi/atspi-accessible.h b/atspi/atspi-accessible.h index a6b687c3..a17cf5ee 100644 --- a/atspi/atspi-accessible.h +++ b/atspi/atspi-accessible.h @@ -64,6 +64,8 @@ typedef struct _AtspiAccessibleClass AtspiAccessibleClass; struct _AtspiAccessibleClass { AtspiObjectClass parent_class; + + void (*region_changed) (AtspiAccessible *accessible, gint current_offset, gint last_offset); }; GType atspi_accessible_get_type (void); |