globaldevicemonitor: prettify header

This commit is contained in:
Tim-Philipp Müller 2014-06-07 10:13:56 +01:00
parent 9c4e1d3689
commit 12088d87bb

View file

@ -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_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_GLOBAL_DEVICE_MONITOR, GstGlobalDeviceMonitorClass))
#define GST_GLOBAL_DEVICE_MONITOR_CAST(obj) ((GstGlobalDeviceMonitor *)(obj)) #define GST_GLOBAL_DEVICE_MONITOR_CAST(obj) ((GstGlobalDeviceMonitor *)(obj))
/**
* GstGlobalDeviceMonitor:
*
* Opaque global device monitor object structure.
*
* Since: 1.4
*/
struct _GstGlobalDeviceMonitor { struct _GstGlobalDeviceMonitor {
GstObject parent; GstObject parent;
@ -53,6 +59,13 @@ struct _GstGlobalDeviceMonitor {
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
}; };
/**
* GstGlobalDeviceMonitorClass:
*
* Opaque global device monitor class structure.
*
* Since: 1.4
*/
struct _GstGlobalDeviceMonitorClass { struct _GstGlobalDeviceMonitorClass {
GstObjectClass parent_class; GstObjectClass parent_class;
@ -64,28 +77,26 @@ GType gst_global_device_monitor_get_type (void);
GstGlobalDeviceMonitor * gst_global_device_monitor_new (void); GstGlobalDeviceMonitor * gst_global_device_monitor_new (void);
GstBus * gst_global_device_monitor_get_bus (GstGlobalDeviceMonitor * monitor);
GList * gst_global_device_monitor_get_devices (GstGlobalDeviceMonitor * monitor); GList * gst_global_device_monitor_get_devices (GstGlobalDeviceMonitor * monitor);
gboolean gst_global_device_monitor_start (GstGlobalDeviceMonitor * monitor); gboolean gst_global_device_monitor_start (GstGlobalDeviceMonitor * monitor);
void gst_global_device_monitor_stop (GstGlobalDeviceMonitor * monitor); void gst_global_device_monitor_stop (GstGlobalDeviceMonitor * monitor);
void gst_global_device_monitor_set_classes_filter ( void gst_global_device_monitor_set_classes_filter (GstGlobalDeviceMonitor * monitor,
GstGlobalDeviceMonitor * monitor, const gchar *classes); const gchar * classes);
gchar *gst_global_device_monitor_get_classes_filter ( gchar * gst_global_device_monitor_get_classes_filter (GstGlobalDeviceMonitor * monitor);
GstGlobalDeviceMonitor * monitor);
void gst_global_device_monitor_set_caps_filter ( void gst_global_device_monitor_set_caps_filter (GstGlobalDeviceMonitor * monitor,
GstGlobalDeviceMonitor * monitor,
GstCaps * caps); GstCaps * caps);
GstCaps * gst_global_device_monitor_get_caps_filter ( GstCaps * gst_global_device_monitor_get_caps_filter (GstGlobalDeviceMonitor * monitor);
GstGlobalDeviceMonitor * monitor);
GstBus * gst_global_device_monitor_get_bus (
GstGlobalDeviceMonitor * monitor);
G_END_DECLS G_END_DECLS