Add atspi_accessible_get_reading_material 33/136233/1
authorShinwoo Kim <cinoo.kim@samsung.com>
Fri, 26 May 2017 13:03:26 +0000 (22:03 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Wed, 28 Jun 2017 23:59:14 +0000 (08:59 +0900)
commit69e5ff7f2c6833af43ac2e36da4c7fb84c923034
treedc5dd693c27e09664552e1a6d82046a031122a24
parent8fd84fce6f1ef2a9e694a14cfb77a29ed269a686
Add atspi_accessible_get_reading_material

To get reading material to be used screen-reader side. This is not stable.
You have to handle all alocated memory as below on screen-reader side.

AtspiAccessibleReadingMaterial *rm
g_object_unref(rm->parent);
g_object_unref(rm->described_by_accessible);
g_hash_table_unref(rm->attributes);
free(rm->name);
free(rm->labeled_by_name);
free(rm->text_interface_name);
free(rm->localized_role_name);
free(rm->description);
free(rm);

Related patch set:
https://review.tizen.org/gerrit/#/c/131358/ (this one, at-spi2-core)
https://review.tizen.org/gerrit/#/c/131359/ (elementary)
https://review.tizen.org/gerrit/#/c/131511/ (at-spi2-atk)
https://review.tizen.org/gerrit/#/c/131714/ (screen-reader)

Change-Id: I968b058098162efe1cbec309411492ca29f696c8
atspi/atspi-accessible.c
atspi/atspi-accessible.h
atspi/atspi-types.h