diff options
Diffstat (limited to 'src/lib/emotion/efl_canvas_video_eo.legacy.h')
-rw-r--r-- | src/lib/emotion/efl_canvas_video_eo.legacy.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/src/lib/emotion/efl_canvas_video_eo.legacy.h b/src/lib/emotion/efl_canvas_video_eo.legacy.h new file mode 100644 index 0000000..205c305 --- /dev/null +++ b/src/lib/emotion/efl_canvas_video_eo.legacy.h | |||
@@ -0,0 +1,60 @@ | |||
1 | #ifndef _EFL_CANVAS_VIDEO_EO_LEGACY_H_ | ||
2 | #define _EFL_CANVAS_VIDEO_EO_LEGACY_H_ | ||
3 | |||
4 | #ifndef _EFL_CANVAS_VIDEO_EO_CLASS_TYPE | ||
5 | #define _EFL_CANVAS_VIDEO_EO_CLASS_TYPE | ||
6 | |||
7 | typedef Eo Efl_Canvas_Video; | ||
8 | |||
9 | #endif | ||
10 | |||
11 | #ifndef _EFL_CANVAS_VIDEO_EO_TYPES | ||
12 | #define _EFL_CANVAS_VIDEO_EO_TYPES | ||
13 | |||
14 | |||
15 | #endif | ||
16 | |||
17 | /** | ||
18 | * @brief Set the specified option for the current module. | ||
19 | * | ||
20 | * This function allows one to mute the video or audio of the emotion object. | ||
21 | * | ||
22 | * Please don't use this function, consider using @ref Efl.Player.mute instead. | ||
23 | * | ||
24 | * @param[in] obj The object. | ||
25 | * @param[in] opt The option that is being set. Currently supported options: | ||
26 | * "video" and "audio". | ||
27 | * @param[in] val The value of the option. Currently only supports "off" | ||
28 | * (?!?!?!) | ||
29 | * | ||
30 | * @ingroup (null)_Group | ||
31 | */ | ||
32 | EAPI void emotion_object_module_option_set(Efl_Canvas_Video *obj, const char *opt, const char *val); | ||
33 | |||
34 | /** | ||
35 | * @brief Initializes an emotion object with the specified module. | ||
36 | * | ||
37 | * This function is required after creating the emotion object, in order to | ||
38 | * specify which module will be used with this object. Different objects can | ||
39 | * use different modules to play a media file. The current supported modules | ||
40 | * are gstreamer and xine. | ||
41 | * | ||
42 | * To use any of them, you need to make sure that support for them was compiled | ||
43 | * correctly. | ||
44 | * | ||
45 | * It's possible to disable the build of a module with --disable-module_name. | ||
46 | * | ||
47 | * See also @ref Efl.File.file. | ||
48 | * | ||
49 | * @param[in] obj The object. | ||
50 | * @param[in] module_filename The name of the module to be used (gstreamer or | ||
51 | * xine). | ||
52 | * | ||
53 | * @return @c true if the specified module was successfully initialized for | ||
54 | * this object, @c false otherwise. | ||
55 | * | ||
56 | * @ingroup (null)_Group | ||
57 | */ | ||
58 | EAPI Eina_Bool emotion_object_init(Efl_Canvas_Video *obj, const char *module_filename); | ||
59 | |||
60 | #endif | ||