Page MenuHomePhabricator

efl_access: Add attribute_append, attributes_clear APIs
ClosedPublic

Authored by shilpasingh on Nov 21 2017, 1:28 AM.

Details

Summary

Add attribute append and attributes clear API, attributes of widget/widget_item helps in adding additional information
about the widget/widget item in the form of key-value pair.

Test Plan

Query the attributes using atspi_accessible_get_attributes in atspi_client and an hash table consisting
of updates attributes should be returned.

Signed-Off By: Shilpa Singh <shilpa.singh@samsung.com>
Signed-Off By: Lukasz Wlazly <l.wlazly@partner.samsung.com>

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
shilpasingh created this revision.Nov 21 2017, 1:28 AM
shilpasingh edited the test plan for this revision. (Show Details)Nov 21 2017, 7:33 AM
This revision was automatically updated to reflect the committed changes.
singh.amitesh added inline comments.
src/lib/elementary/efl_access.eo
307

there is no need to add const(string) since its an input.
This resulted into lots of compilation warnings while building ELM.

100s of these
" ./src/lib/elementary/efl_access.eo.h:433:55: warning: duplicate ‘const’ declaration specifier

-Wduplicate-decl-specifier]
EOAPI void efl_access_attribute_append(Eo *obj, const const char *key, const const char *value);

"