aggregator: Assert if the sink/src pad type that is to be used is not a GstAggregator...
[platform/upstream/gstreamer.git] / gst / gstregistry.h
index b7c4835..a5ae603 100644 (file)
@@ -16,8 +16,8 @@
  *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
  */
 
 
@@ -57,45 +57,77 @@ struct _GstRegistryClass {
   GstObjectClass        parent_class;
 };
 
+GST_API
 GType                   gst_registry_get_type           (void);
 
+GST_API
 GstRegistry *           gst_registry_get                (void);
 
+GST_API
 gboolean                gst_registry_scan_path          (GstRegistry *registry, const gchar *path);
+
+#if 0
 void                    gst_registry_add_path           (GstRegistry * registry, const gchar * path);
 GList*                  gst_registry_get_path_list      (GstRegistry *registry);
+#endif
 
+GST_API
 gboolean                gst_registry_add_plugin         (GstRegistry *registry, GstPlugin *plugin);
+
+GST_API
 void                    gst_registry_remove_plugin      (GstRegistry *registry, GstPlugin *plugin);
+
+GST_API
 gboolean                gst_registry_add_feature        (GstRegistry * registry, GstPluginFeature * feature);
+
+GST_API
 void                    gst_registry_remove_feature     (GstRegistry * registry, GstPluginFeature * feature);
 
+GST_API
 GList*                  gst_registry_get_plugin_list    (GstRegistry *registry);
+
+GST_API
 GList*                  gst_registry_plugin_filter      (GstRegistry *registry,
                                                          GstPluginFilter filter,
                                                          gboolean first,
                                                          gpointer user_data);
+GST_API
 GList*                  gst_registry_feature_filter     (GstRegistry *registry,
                                                          GstPluginFeatureFilter filter,
                                                          gboolean first,
                                                          gpointer user_data);
+GST_API
 GList *                 gst_registry_get_feature_list   (GstRegistry *registry,
                                                          GType type);
+GST_API
 GList *                 gst_registry_get_feature_list_by_plugin (GstRegistry *registry, const gchar *name);
+
+GST_API
 guint32                 gst_registry_get_feature_list_cookie (GstRegistry *registry);
 
+GST_API
 GstPlugin*              gst_registry_find_plugin        (GstRegistry *registry, const gchar *name);
+
+GST_API
 GstPluginFeature*       gst_registry_find_feature       (GstRegistry *registry, const gchar *name, GType type);
 
+GST_API
 GstPlugin *             gst_registry_lookup             (GstRegistry *registry, const char *filename);
+
+GST_API
 GstPluginFeature *      gst_registry_lookup_feature     (GstRegistry *registry, const char *name);
 
+GST_API
 gboolean                gst_registry_check_feature_version (GstRegistry *registry,
                                                             const gchar *feature_name,
                                                             guint        min_major,
                                                             guint        min_minor,
                                                             guint        min_micro);
 
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstRegistry, gst_object_unref)
+#endif
+
 G_END_DECLS
 
 #endif /* __GST_REGISTRY_H__ */