Efl.File (mixin)

Description

Efl file interface

Since 1.22

Members

destructor [Overridden from Efl.Object]

void efl_destructor(Eo *obj);


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);


finalize [Overridden from Efl.Object]

Efl_Object *efl_finalize(Eo *obj);


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);


load

Perform all necessary operations to open and load file data into the object using the Efl.File.file (or Efl.File.mmap) and Efl.File.key properties.
Eina_Error efl_file_load(Eo *obj);


loaded (get)

Eina_Bool efl_file_loaded_get(const Eo *obj);


mmap (get, set)

The mmaped file from where an object will fetch the real data (it must be an Eina.File).
const Eina_File efl_file_mmap_get(const Eo *obj);
Eina_Error efl_file_mmap_set(Eo *obj, const Eina_File f);


unload

Perform all necessary operations to unload file data from the object.
void efl_file_unload(Eo *obj);


Events