element: Enforce that elements created by gst_element_factory_create/make() are floating
[platform/upstream/gstreamer.git] / gst / gstdeviceprovider.h
index ba768ca..bcde319 100644 (file)
@@ -99,72 +99,77 @@ struct _GstDeviceProviderClass {
   gpointer _gst_reserved[GST_PADDING];
 };
 
-GST_EXPORT
+GST_API
 GType       gst_device_provider_get_type (void);
 
 
-GST_EXPORT
+GST_API
 GList *     gst_device_provider_get_devices    (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 gboolean    gst_device_provider_start          (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 void        gst_device_provider_stop           (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 gboolean    gst_device_provider_can_monitor    (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 GstBus *    gst_device_provider_get_bus        (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 void        gst_device_provider_device_add     (GstDeviceProvider * provider,
                                                 GstDevice * device);
-GST_EXPORT
+GST_API
 void        gst_device_provider_device_remove  (GstDeviceProvider * provider,
                                                 GstDevice * device);
-GST_EXPORT
+GST_API
 gchar **    gst_device_provider_get_hidden_providers (GstDeviceProvider * provider);
 
-GST_EXPORT
+GST_API
 void        gst_device_provider_hide_provider        (GstDeviceProvider * provider,
                                                       const gchar       * name);
-GST_EXPORT
+GST_API
 void        gst_device_provider_unhide_provider      (GstDeviceProvider * provider,
                                                       const gchar       * name);
 
-GST_EXPORT
+GST_API
 const gchar * gst_device_provider_get_metadata       (GstDeviceProvider * provider,
                                                       const gchar * key);
 
 /* device provider class meta data */
 
-GST_EXPORT
+GST_API
 void        gst_device_provider_class_set_metadata         (GstDeviceProviderClass *klass,
                                                             const gchar     *longname,
                                                             const gchar     *classification,
                                                             const gchar     *description,
                                                             const gchar     *author);
-GST_EXPORT
+GST_API
 void        gst_device_provider_class_set_static_metadata  (GstDeviceProviderClass *klass,
                                                             const gchar     *longname,
                                                             const gchar     *classification,
                                                             const gchar     *description,
                                                             const gchar     *author);
-GST_EXPORT
+GST_API
 void        gst_device_provider_class_add_metadata         (GstDeviceProviderClass * klass,
                                                             const gchar * key, const gchar * value);
-GST_EXPORT
+GST_API
 void        gst_device_provider_class_add_static_metadata  (GstDeviceProviderClass * klass,
                                                             const gchar * key, const gchar * value);
-GST_EXPORT
+GST_API
 const gchar * gst_device_provider_class_get_metadata       (GstDeviceProviderClass * klass,
                                                             const gchar * key);
 
+GST_API
+void gst_device_provider_device_changed                    (GstDeviceProvider * provider,
+                                                            GstDevice *device,
+                                                            GstDevice *changed_device);
+
 /* factory management */
 
-GST_EXPORT
+GST_API
 GstDeviceProviderFactory * gst_device_provider_get_factory (GstDeviceProvider * provider);
 
 #ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC