summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/Emotion.h
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2013-01-02 21:03:30 +0000
committerLeandro Dorileo <dorileo@profusion.mobi>2013-01-02 21:03:30 +0000
commite3e1511bacd6f7b528f860408a18dc4fb76f3070 (patch)
treee3cf55bd13fb4c8ad8187d074baa0ad77b4fcdd2 /legacy/emotion/src/lib/Emotion.h
parent37bcda87ed63e79a8a3b39431cfe9bf9233e12ce (diff)
Emotion: introce emotion_object_video_subtitle_file_set() call
For setting an arbitrary subtitle file, this patch introduces the emotion_object_video_subtitle_file_set() and its counterpart emotion_object_video_subtitle_file_get(). The tag @sice were added as 1.7.2 since we're preparing a backport to stable tree. SVN revision: 82019
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/Emotion.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/Emotion.h b/legacy/emotion/src/lib/Emotion.h
index 361e4e55e5..186144ea4f 100644
--- a/legacy/emotion/src/lib/Emotion.h
+++ b/legacy/emotion/src/lib/Emotion.h
@@ -980,6 +980,38 @@ EAPI void emotion_object_video_mute_set (Evas_Object *obj, Eina_B
980EAPI Eina_Bool emotion_object_video_mute_get (const Evas_Object *obj); 980EAPI Eina_Bool emotion_object_video_mute_get (const Evas_Object *obj);
981 981
982/** 982/**
983 * @brief Set the video's subtitle file path.
984 *
985 * @param obj The object which we are setting a subtitle file path.
986 * @param filepath The subtitle file path.
987 *
988 * This function sets a video's subtitle file path(i.e an .srt file) for
989 * supported subtitle formats consult the backend's documentation.
990 *
991 * @see emotion_object_video_subtitle_file_get().
992 *
993 * @ingroup Emotion_Video
994 * @since 1.7.2
995 */
996EAPI void emotion_object_video_subtitle_file_set (Evas_Object *obj, const char *filepath);
997
998/**
999 * @brief Get the video's subtitle file path.
1000 *
1001 * @param obj The object which we are retrieving the subtitle file path from.
1002 * @return The video's subtitle file path previously set, NULL otherwise.
1003 *
1004 * This function returns the video's subtitle file path, if not previously set
1005 * or in error NULL is returned.
1006 *
1007 * @see emotion_object_video_subtitle_file_set().
1008 *
1009 * @ingroup Emotion_Video
1010 * @since 1.7.2
1011 */
1012EAPI const char *emotion_object_video_subtitle_file_get (const Evas_Object *obj);
1013
1014/**
983 * @brief Get the number of available video channel 1015 * @brief Get the number of available video channel
984 * 1016 *
985 * @param obj The object which we are retrieving the channel count from 1017 * @param obj The object which we are retrieving the channel count from