summaryrefslogtreecommitdiff
path: root/src/lib/emotion/efl_canvas_video.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/emotion/efl_canvas_video.eo')
-rw-r--r--src/lib/emotion/efl_canvas_video.eo115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/lib/emotion/efl_canvas_video.eo b/src/lib/emotion/efl_canvas_video.eo
new file mode 100644
index 0000000000..c6e797ae0c
--- /dev/null
+++ b/src/lib/emotion/efl_canvas_video.eo
@@ -0,0 +1,115 @@
1class Efl.Canvas.Video (Efl.Canvas.Group, Efl.File, Efl.Player, Efl.Image, Efl.Image.Load) {
2 methods {
3 @property option {
4 set {
5 [[Set the specified option for the current module.
6
7 This function allows one to mute the video or audio of the
8 emotion object.
9
10 Please don't use this function, consider using
11 \@ref emotion_object_audio_mute_set and
12 \@ref emotion_object_video_mute_set instead.
13 ]]
14 legacy: emotion_object_module_option_set;
15 }
16 values {
17 opt: string; [[The option that is being set. Currently
18 supported options: "video" and "audio".]]
19 val: string; [[The value of the option. Currently only
20 supports "off" (?!?!?!)]]
21 }
22 }
23 @property engine {
24 set {
25 [[Initializes an emotion object with the specified module.
26
27 This function is required after creating the emotion object,
28 in order to specify which module will be used with this
29 object. Different objects can use different modules to
30 play a media file. The current supported modules are
31 gstreamer and xine.
32
33 To use any of them, you need to make sure that support for
34 them was compiled correctly.
35
36 It's possible to disable the build of a module with
37 --disable-module_name.
38
39 See also \@ref emotion_object_add and
40 \@ref emotion_object_file_set.
41 ]]
42 legacy: emotion_object_init;
43 return: bool; [[true if the specified module was successfully
44 initialized for this object, false otherwise.]]
45 }
46 values {
47 module_filename: string; [[The name of the module to be
48 used (gstreamer or xine).]]
49 }
50 }
51 }
52 implements {
53 Efl.Object.constructor;
54 Efl.Canvas.Group.group_add;
55 Efl.Canvas.Group.group_del;
56 Efl.Canvas.Group.group_move;
57 Efl.Canvas.Group.group_resize;
58 Efl.Canvas.Group.group_show;
59 Efl.Canvas.Group.group_hide;
60 Efl.Canvas.Group.group_color.set;
61 Efl.Canvas.Group.group_clip.set;
62 Efl.Canvas.Group.group_clip_unset;
63 Efl.File.file.set;
64 Efl.File.file.get;
65 Efl.Player.play.set;
66 Efl.Player.play.get;
67 Efl.Player.position.set;
68 Efl.Player.position.get;
69 Efl.Player.progress.get;
70 Efl.Player.volume.set;
71 Efl.Player.volume.get;
72 Efl.Player.mute.set;
73 Efl.Player.mute.get;
74 Efl.Player.length.get;
75 Efl.Player.seekable.get;
76 Efl.Image.Load.load_size.get;
77 Efl.Image.ratio.get;
78 Efl.Image.smooth_scale.set;
79 Efl.Image.smooth_scale.get;
80 }
81 events {
82 frame,decode;
83 position,change;
84 length,change;
85 frame,resize;
86 playback,start;
87 playback,stop;
88 volume,change;
89 channels,change;
90 title,change;
91 progress,change;
92 ref,change;
93 button,num,change;
94 button,change;
95 open,done;
96 position,save,done;
97 position,save,fail;
98 position,load,done;
99 position,load,fail;
100 }
101}
102
103/* FIXME: Need to be added:
104EAPI double emotion_object_buffer_size_get (const Evas_Object *obj);
105EAPI const char *emotion_object_progress_info_get (const Evas_Object *obj);
106
107Everything starting from (needs to be added):
108EAPI int emotion_object_audio_channel_count (const Evas_Object *obj);
109
110Should this be part of player or emotion object?
111EAPI void emotion_object_event_simple_send (Evas_Object *obj, Emotion_Event ev);
112
113Deliberations:
114Should this really implement the image interface?
115*/