~~Title: Efl.File~~
====== Efl.File (mixin) ======
===== Description =====
%%Efl file interface%%
//Since 1.22//
{{page>:develop:api-include:efl:file:description&nouser&nolink&nodate}}
===== Members =====
**[[:develop:api:efl:file:method:destructor|destructor]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\
>
void efl_destructor(Eo *obj);
\\
**[[:develop:api:efl:file:property:file|file]]** //**(get, set)**//\\
> %%The file path from where an object will fetch the data.%%
const char *efl_file_get(const Eo *obj);
Eina_Error efl_file_set(Eo *obj, const char *file);
\\
**[[:develop:api:efl:file:method:finalize|finalize]]**// [Overridden from [[:develop:api:efl:object|Efl.Object]]]//\\
>
Efl_Object *efl_finalize(Eo *obj);
\\
**[[:develop:api:efl:file:property:key|key]]** //**(get, set)**//\\
> %%The key which corresponds to the target data within a file.%%
const char *efl_file_key_get(const Eo *obj);
void efl_file_key_set(Eo *obj, const char *key);
\\
**[[:develop:api:efl:file:method:load|load]]**\\
> %%Perform all necessary operations to open and load file data into the object using the %%[[:develop:api:efl:file:property:file|Efl.File.file]]%% (or %%[[:develop:api:efl:file:property:mmap|Efl.File.mmap]]%%) and %%[[:develop:api:efl:file:property:key|Efl.File.key]]%% properties.%%
Eina_Error efl_file_load(Eo *obj);
\\
**[[:develop:api:efl:file:property:loaded|loaded]]** //**(get)**//\\
>
Eina_Bool efl_file_loaded_get(const Eo *obj);
\\
**[[:develop:api:efl:file:property:mmap|mmap]]** //**(get, set)**//\\
> %%The mmaped file from where an object will fetch the real data (it must be an %%[[:develop:api:eina:file|Eina.File]]%%).%%
const Eina_File efl_file_mmap_get(const Eo *obj);
Eina_Error efl_file_mmap_set(Eo *obj, const Eina_File f);
\\
**[[:develop:api:efl:file:method:unload|unload]]**\\
> %%Perform all necessary operations to unload file data from the object.%%
void efl_file_unload(Eo *obj);
\\
===== Events =====