diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2019-02-27 13:17:09 -0500 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2019-02-27 13:17:10 -0500 |
commit | 6326e18b3fb2a4757f8ffa22be5d55a75da23049 (patch) | |
tree | 31d586b52638aa0d0b1c759869a8e3368c9daf5d /src/Makefile_Efl.am | |
parent | 7924660d54500285d3844bfa384394c683825cd9 (diff) | |
download | efl-6326e18b3fb2a4757f8ffa22be5d55a75da23049.tar.gz |
efl.file: improve api a bit
Summary:
the previous implementation/api had a number of issues:
* "file" property contained both "file" and "key" values
- also performed file loading operation
* "load_error" property which was specific to image objects
* no methods for controlling file loading/unloading
this patch attempts the following changes:
* split "file" property into "file" and "key" properties
- also remove "key" from existing "mmap" property
* remove "load_error"
* directly return error codes from operations
* add "load" and "unload" methods for directly controlling load state
* add implicit file loading if file/mmap is set during construction
* rewrite all efl.file implementations to move file loading into load() method
* rewrite all usage of efl.file api based on these changes
* add C extension functions to mimic previous behavior
ref T7577
Reviewers: segfaultxavi, bu5hm4n, cedric
Reviewed By: segfaultxavi
Subscribers: vitor.sousa, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7577
Differential Revision: https://phab.enlightenment.org/D8018
Diffstat (limited to 'src/Makefile_Efl.am')
-rw-r--r-- | src/Makefile_Efl.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index d254f6f8a1..f565ed45a6 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -108,6 +108,7 @@ EXTRA_DIST2 += \ lib/efl/Efl_Config.h \ lib/efl/Efl_Config.h.in \ lib/efl/Efl.h \ + lib/efl/interfaces/efl_file.h \ lib/efl/interfaces/efl_common_internal.h \ $(efl_eolian_files) \ $(efl_eolian_type_files) @@ -152,6 +153,7 @@ dist_installed_eflheaders_DATA = \ installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces nodist_installed_eflinterfaces_DATA = \ $(efl_eolian_files_h) \ + lib/efl/interfaces/efl_file.h \ $(efl_eolian_legacy_files_h) if HAVE_LUA_BINDINGS |