X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Fgstregistry.h;h=a5ae6035f355e7cfb11d4e03efc86e815443a3b1;hb=0c6f5b3e4c3dc55e684bca1e3fc9a2a9b74407b9;hp=b7c48358c6d0bd162d53532e1e595c24ba53daff;hpb=304047b13d72ea87efd03ec768b75fa09d374fac;p=platform%2Fupstream%2Fgstreamer.git diff --git a/gst/gstregistry.h b/gst/gstregistry.h index b7c4835..a5ae603 100644 --- a/gst/gstregistry.h +++ b/gst/gstregistry.h @@ -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__ */