Add gst_typefactory_get_list to get a list of registered typefactories.

Original commit message from CVS:
Add gst_typefactory_get_list to get a list of registered
typefactories.
This commit is contained in:
Wim Taymans 2001-10-24 21:35:47 +00:00
parent 97032976ae
commit 7e5cd5fc38
2 changed files with 14 additions and 0 deletions

View file

@ -290,6 +290,18 @@ gst_type_get_list (void)
return _gst_types;
}
/**
* gst_typefactory_get_list:
*
* Return a list of all typefactories
*
* Returns: a list of GstTypeFactories
*/
GList*
gst_typefactory_get_list (void)
{
return _gst_typefactories;
}
/**
* gst_typefactory_find:

View file

@ -83,6 +83,8 @@ GType gst_typefactory_get_type (void);
GstTypeFactory* gst_typefactory_new (GstTypeDefinition *definition);
GstTypeFactory* gst_typefactory_find (const gchar *name);
GList* gst_typefactory_get_list (void);
/* create a new type, or find/merge an existing one */
guint16 gst_type_register (GstTypeFactory *factory);