evas: add Efl.File interface to Evas_Object_VG. 38/43138/1
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 10 Dec 2014 09:31:36 +0000 (10:31 +0100)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 01:55:21 +0000 (10:55 +0900)
Change-Id: Ifd9c2d9273dedbab464ec4beb5dce8510a2ab7fd

src/lib/evas/canvas/evas_object_vg.c
src/lib/evas/canvas/evas_vg.eo

index c956fb8..5d750c1 100644 (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"
index fef9e8a..95c1ef0 100644 (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;
    }
 }
\ No newline at end of file