summaryrefslogtreecommitdiffstats
path: root/sys/cdrom/gstcdplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cdrom/gstcdplayer.h')
-rw-r--r--sys/cdrom/gstcdplayer.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/sys/cdrom/gstcdplayer.h b/sys/cdrom/gstcdplayer.h
index 60d0b606..7c6c4bf9 100644
--- a/sys/cdrom/gstcdplayer.h
+++ b/sys/cdrom/gstcdplayer.h
@@ -35,31 +35,30 @@
typedef struct _CDPlayer CDPlayer;
typedef struct _CDPlayerClass CDPlayerClass;
-struct _CDPlayer
-{
- GstBin element;
+struct _CDPlayer {
+ GstBin element;
+
+ /* properties */
+ gchar *device;
+ gint num_tracks;
+ gint start_track;
+ gint end_track;
+ gint current_track;
+ guint32 cddb_discid;
- /* properties */
- gchar *device;
- gint num_tracks;
- gint start_track;
- gint end_track;
- gint current_track;
- guint32 cddb_discid;
-
- /* private */
- struct cd cd;
- gboolean paused;
+ /* private */
+ struct cd cd;
+ gboolean paused;
};
-struct _CDPlayerClass
-{
- GstBinClass parent_class;
+struct _CDPlayerClass {
+ GstBinClass parent_class;
- /* signal callbacks */
- void (*track_change) (GstElement * element, guint track);
+ /* signal callbacks */
+ void (*track_change) (GstElement *element,guint track);
};
-GType cdplayer_get_type (void);
+GType cdplayer_get_type(void);
+
+#endif
-#endif