From 12088d87bba3cb88212ac87b0ccef1608fd52c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 7 Jun 2014 10:13:56 +0100 Subject: [PATCH] globaldevicemonitor: prettify header --- gst/gstglobaldevicemonitor.h | 43 ++++++++++++++++++++++-------------- 1 file changed, 27 insertions(+), 16 deletions(-) diff --git a/gst/gstglobaldevicemonitor.h b/gst/gstglobaldevicemonitor.h index 2cd3849123..1b05ae1c3f 100644 --- a/gst/gstglobaldevicemonitor.h +++ b/gst/gstglobaldevicemonitor.h @@ -42,7 +42,13 @@ typedef struct _GstGlobalDeviceMonitorClass GstGlobalDeviceMonitorClass; #define GST_GLOBAL_DEVICE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GLOBAL_DEVICE_MONITOR, GstGlobalDeviceMonitorClass)) #define GST_GLOBAL_DEVICE_MONITOR_CAST(obj) ((GstGlobalDeviceMonitor *)(obj)) - +/** + * GstGlobalDeviceMonitor: + * + * Opaque global device monitor object structure. + * + * Since: 1.4 + */ struct _GstGlobalDeviceMonitor { GstObject parent; @@ -53,6 +59,13 @@ struct _GstGlobalDeviceMonitor { gpointer _gst_reserved[GST_PADDING]; }; +/** + * GstGlobalDeviceMonitorClass: + * + * Opaque global device monitor class structure. + * + * Since: 1.4 + */ struct _GstGlobalDeviceMonitorClass { GstObjectClass parent_class; @@ -60,32 +73,30 @@ struct _GstGlobalDeviceMonitorClass { gpointer _gst_reserved[GST_PADDING]; }; -GType gst_global_device_monitor_get_type (void); +GType gst_global_device_monitor_get_type (void); GstGlobalDeviceMonitor * gst_global_device_monitor_new (void); -GList * gst_global_device_monitor_get_devices (GstGlobalDeviceMonitor * monitor); +GstBus * gst_global_device_monitor_get_bus (GstGlobalDeviceMonitor * monitor); -gboolean gst_global_device_monitor_start (GstGlobalDeviceMonitor * monitor); -void gst_global_device_monitor_stop (GstGlobalDeviceMonitor * monitor); +GList * gst_global_device_monitor_get_devices (GstGlobalDeviceMonitor * monitor); -void gst_global_device_monitor_set_classes_filter ( - GstGlobalDeviceMonitor * monitor, const gchar *classes); +gboolean gst_global_device_monitor_start (GstGlobalDeviceMonitor * monitor); -gchar *gst_global_device_monitor_get_classes_filter ( - GstGlobalDeviceMonitor * monitor); +void gst_global_device_monitor_stop (GstGlobalDeviceMonitor * monitor); -void gst_global_device_monitor_set_caps_filter ( - GstGlobalDeviceMonitor * monitor, - GstCaps * caps); +void gst_global_device_monitor_set_classes_filter (GstGlobalDeviceMonitor * monitor, + const gchar * classes); -GstCaps * gst_global_device_monitor_get_caps_filter ( - GstGlobalDeviceMonitor * monitor); +gchar * gst_global_device_monitor_get_classes_filter (GstGlobalDeviceMonitor * monitor); -GstBus * gst_global_device_monitor_get_bus ( - GstGlobalDeviceMonitor * monitor); + +void gst_global_device_monitor_set_caps_filter (GstGlobalDeviceMonitor * monitor, + GstCaps * caps); + +GstCaps * gst_global_device_monitor_get_caps_filter (GstGlobalDeviceMonitor * monitor); G_END_DECLS