Add missing file_get legacy definition for Video and Layout
authorDave Andreoli <dave@gurumeditation.it>
Tue, 14 Apr 2015 20:19:18 +0000 (22:19 +0200)
committerDave Andreoli <dave@gurumeditation.it>
Tue, 14 Apr 2015 20:57:12 +0000 (22:57 +0200)
was missed from commit:
e5cda41c889f98b6f3f5f63b909f595a7a656cc0

src/lib/elm_layout.c
src/lib/elm_layout_legacy.h
src/lib/elm_video.c
src/lib/elm_video_legacy.h

index 19f6b47..f04b80f 100644 (file)
@@ -1725,4 +1725,10 @@ elm_layout_file_set(Eo *obj, const char *file, const char *group)
    return eo_do_ret((Eo *) obj, ret, efl_file_set(file, group));
 }
 
+EAPI void
+elm_layout_file_get(Eo *obj, const char **file, const char **group)
+{
+   eo_do((Eo *) obj, efl_file_get(file, group));
+}
+
 #include "elm_layout.eo.c"
index 1df030d..e5bd857 100644 (file)
@@ -88,4 +88,17 @@ EAPI Evas_Object                 *elm_layout_content_unset(Evas_Object *obj, con
  */
 EAPI Eina_Bool elm_layout_file_set(Eo *obj, const char *file, const char *group);
 
+/**
+ * Get the loaded file
+ *
+ *
+ * @ingroup Layout
+ *
+ * @param file The path to file (edj) used as layout
+ * @param group The group that the layout belongs in edje file
+ *
+ * @since 1.14
+ */
+EAPI void elm_layout_file_get(Eo *obj, const char **file, const char **group);
+
 #include "elm_layout.eo.legacy.h"
index b90e3f9..56f8ad0 100644 (file)
@@ -460,5 +460,11 @@ elm_video_file_set(Eo *obj, const char *filename)
    return eo_do_ret((Eo *) obj, ret, efl_file_set(filename, NULL));
 }
 
+EAPI void
+elm_video_file_get(Eo *obj, const char **filename)
+{
+   eo_do((Eo *) obj, efl_file_get(filename, NULL));
+}
+
 
 #include "elm_video.eo.c"
index 82e4191..184d31a 100644 (file)
@@ -48,4 +48,16 @@ the available Webcam on your system).
  */
 EAPI Eina_Bool elm_video_file_set(Eo *obj, const char *filename);
 
+/**
+ *
+ * @brief Get the file or URI that is used as the video source.
+ *
+ * @ingroup Video
+ *
+ * @param filename The file or URI.
+ *
+ * @since 1.14
+ */
+EAPI void elm_video_file_get(Eo *obj, const char **filename);
+
 #include "elm_video.eo.legacy.h"