evas: add Efl.File interface to Evas_Object_VG.

This commit is contained in:
Cedric BAIL 2015-04-03 16:13:11 +02:00
parent 161b7b93e2
commit 7f072eb607
2 changed files with 18 additions and 1 deletions

View File

@ -312,4 +312,19 @@ evas_object_vg_was_opaque(Evas_Object *eo_obj EINA_UNUSED,
return 0;
}
Eina_Bool
_evas_vg_efl_file_file_set(Eo *obj, Evas_VG_Data *pd,
const char *file, const char *key)
{
// FIXME: just load SVG for now
return EINA_FALSE;
}
void
_evas_vg_efl_file_file_get(Eo *obj, Evas_VG_Data *pd,
const char **file, const char **key)
{
}
#include "evas_vg.eo.c"

View File

@ -1,4 +1,4 @@
class Evas.VG (Evas.Object)
class Evas.VG (Evas.Object, Efl.File)
{
legacy_prefix: evas_object_vg;
eo_prefix: evas_obj_vg;
@ -13,5 +13,7 @@ class Evas.VG (Evas.Object)
}
implements {
Eo.Base.constructor;
Efl.File.file.set;
Efl.File.file.get;
}
}