forked from enlightenment/efl
Add missing file_get legacy definition for Video and Layout
was missed from commit: e5cda41c889f98b6f3f5f63b909f595a7a656cc0
This commit is contained in:
parent
5a943cb9d4
commit
153899126b
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue