2 * Initial main.c file generated by Glade. Edit as required.
3 * Glade will not overwrite this file.
6 #ifndef __GST_MEDIA_PLAY_H__
7 #define __GST_MEDIA_PLAY_H__
10 #include <glade/glade.h>
13 #include "gststatusarea.h"
15 typedef struct _GstMediaPlay GstMediaPlay;
16 typedef struct _GstMediaPlayClass GstMediaPlayClass;
18 #define GST_TYPE_MEDIA_PLAY \
19 (gst_media_play_get_type())
20 #define GST_MEDIA_PLAY(obj) \
21 (GTK_CHECK_CAST((obj),GST_TYPE_MEDIA_PLAY,GstMediaPlay))
22 #define GST_MEDIA_PLAY_CLASS(klass) \
23 (GTK_CHECK_CLASS_CAST((klass),GST_TYPE_MEDIA_PLAY,GstMediaPlayClass))
24 #define GST_IS_MEDIA_PLAY(obj) \
25 (GTK_CHECK_TYPE((obj),GST_TYPE_MEDIA_PLAY))
26 #define GST_IS_MEDIA_PLAY_CLASS(obj) \
27 (GTK_CHECK_CLASS_TYPE((klass),GST_TYPE_MEDIA_PLAY))
29 struct _GstMediaPlay {
35 GtkWidget *play_button;
36 GtkWidget *pause_button;
37 GtkWidget *stop_button;
40 GstStatusArea *status;
43 GtkAdjustment *adjustment;
49 struct _GstMediaPlayClass {
50 GtkObjectClass parent_class;
55 GtkType gst_media_play_get_type (void);
57 /* setup the player */
58 GstMediaPlay* gst_media_play_new (void);
60 void gst_media_play_start_uri (GstMediaPlay *play, const guchar *uri);
62 #endif /* __GST_MEDIA_PLAY_H__ */