childproxy: gracefully handle methods being NULL
[platform/upstream/gstreamer.git] / gst / gstdevicemonitor.h
index 2df07e4..d21da41 100644 (file)
@@ -75,25 +75,45 @@ struct _GstDeviceMonitorClass {
   gpointer _gst_reserved[GST_PADDING];
 };
 
+GST_EXPORT
 GType     gst_device_monitor_get_type (void);
 
+GST_EXPORT
 GstDeviceMonitor * gst_device_monitor_new  (void);
 
+GST_EXPORT
 GstBus *  gst_device_monitor_get_bus (GstDeviceMonitor * monitor);
 
+GST_EXPORT
 GList *   gst_device_monitor_get_devices (GstDeviceMonitor * monitor);
 
 
+GST_EXPORT
 gboolean  gst_device_monitor_start (GstDeviceMonitor * monitor);
 
+GST_EXPORT
 void      gst_device_monitor_stop  (GstDeviceMonitor * monitor);
 
 
+GST_EXPORT
 guint     gst_device_monitor_add_filter (GstDeviceMonitor * monitor,
                                          const gchar      * classes,
                                          GstCaps          * caps);
+GST_EXPORT
 gboolean  gst_device_monitor_remove_filter (GstDeviceMonitor * monitor,
                                             guint filter_id);
+GST_EXPORT
+gchar **  gst_device_monitor_get_providers (GstDeviceMonitor * monitor);
+
+GST_EXPORT
+void      gst_device_monitor_set_show_all_devices (GstDeviceMonitor * monitor, gboolean show_all);
+
+GST_EXPORT
+gboolean  gst_device_monitor_get_show_all_devices (GstDeviceMonitor * monitor);
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDeviceMonitor, gst_object_unref)
+#endif
 
 G_END_DECLS