summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2014-05-28 17:12:34 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-05-28 17:12:34 +0900
commit39eb7acec63ec2366565e3526cd23862e7e684b1 (patch)
tree8b691d1890df42e266fed3d1e792cb29a50668aa /legacy/elementary/src/lib/elm_interface_atspi_accessible.c
parent044b99a2f1a1e8f0fd68b817f4bf90671d84d229 (diff)
atspi: add accessible default relations and attributes
Summary: Tests added for accessibile interface Differential Revision: https://phab.enlightenment.org/D900
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_interface_atspi_accessible.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
index 1670b4ca55..9a5fe75e2e 100644
--- a/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
+++ b/legacy/elementary/src/lib/elm_interface_atspi_accessible.c
@@ -166,11 +166,12 @@ _elm_interface_atspi_accessible_parent_set(Eo *obj, void *priv EINA_UNUSED, Eo *
166 eo_class_name_get(eo_class_get(obj))); 166 eo_class_name_get(eo_class_get(obj)));
167} 167}
168 168
169EOLIAN void 169EOLIAN Eina_List*
170_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED) 170_elm_interface_atspi_accessible_attributes_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)
171{ 171{
172 WRN("The %s object does not implement the \"accessible_attributes_set\" function.", 172 WRN("The %s object does not implement the \"accessible_attributes_set\" function.",
173 eo_class_name_get(eo_class_get(obj))); 173 eo_class_name_get(eo_class_get(obj)));
174 return NULL;
174} 175}
175 176
176EOLIAN static Elm_Atspi_Role 177EOLIAN static Elm_Atspi_Role
@@ -264,4 +265,22 @@ _elm_interface_atspi_accessible_state_set_get(Eo *obj EINA_UNUSED, void *pd EINA
264 return ret; 265 return ret;
265} 266}
266 267
268EOLIAN Eina_List*
269_elm_interface_atspi_accessible_relation_set_get(Eo *obj EINA_UNUSED, void *pd EINA_UNUSED)
270{
271 WRN("The %s object does not implement the \"accessible_relation_set\" function.",
272 eo_class_name_get(eo_class_get(obj)));
273 return NULL;
274}
275
276void elm_atspi_attributes_list_free(Eina_List *list)
277{
278 Elm_Atspi_Attribute *attr;
279 EINA_LIST_FREE(list, attr)
280 {
281 eina_stringshare_del(attr->key);
282 eina_stringshare_del(attr->value);
283 }
284}
285
267#include "elm_interface_atspi_accessible.eo.c" 286#include "elm_interface_atspi_accessible.eo.c"