1 #ifndef _HAVE_WH_SCREEN_VIDEO_H
2 #define _HAVE_WH_SCREEN_VIDEO_H
4 #include <clutter/clutter.h>
5 #include "wh-video-view.h"
9 #define WH_TYPE_SCREEN_VIDEO wh_screen_video_get_type()
11 #define WH_SCREEN_VIDEO(obj) \
12 (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
13 WH_TYPE_SCREEN_VIDEO, WHScreenVideo))
15 #define WH_SCREEN_VIDEO_CLASS(klass) \
16 (G_TYPE_CHECK_CLASS_CAST ((klass), \
17 WH_TYPE_SCREEN_VIDEO, WHScreenVideoClass))
19 #define WH_IS_SCREEN_VIDEO(obj) \
20 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
21 WH_TYPE_SCREEN_VIDEO))
23 #define WH_IS_SCREEN_VIDEO_CLASS(klass) \
24 (G_TYPE_CHECK_CLASS_TYPE ((klass), \
25 WH_TYPE_SCREEN_VIDEO))
27 #define WH_SCREEN_VIDEO_GET_CLASS(obj) \
28 (G_TYPE_INSTANCE_GET_CLASS ((obj), \
29 WH_TYPE_SCREEN_VIDEO, WHScreenVideoClass))
36 ClutterActorClass parent_class;
38 void (*started) (WHScreenVideo *screen);
39 void (*finished) (WHScreenVideo *screen);
43 GType wh_screen_video_get_type (void);
45 ClutterActor* wh_screen_video_new (void);
48 wh_screen_video_activate (WHScreenVideo *screen, WHVideoView *view);
51 wh_screen_video_deactivate (WHScreenVideo *screen);
54 wh_screen_video_get_playing (WHScreenVideo *screen);