Document registry signals and make gtk-doc pick them up (#401381).

Original commit message from CVS:
* docs/gst/gstreamer.types.in:
* gst/gstregistry.c: (gst_registry_class_init):
Document registry signals and make gtk-doc pick them up (#401381).
This commit is contained in:
Tim-Philipp Müller 2007-01-27 18:44:11 +00:00
parent 476cdb3904
commit 636e022fed
3 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
* docs/gst/gstreamer.types.in:
* gst/gstregistry.c: (gst_registry_class_init):
Document registry signals and make gtk-doc pick them up (#401381).
2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
* docs/pwg/building-testapp.xml:

View file

@ -17,6 +17,7 @@ gst_ghost_pad_get_type
gst_implements_interface_get_type
gst_index_factory_get_type
gst_index_get_type
gst_registry_get_type
% these are not GObject derived types !
% gst_mini_object_get_type

View file

@ -145,10 +145,27 @@ gst_registry_class_init (GstRegistryClass * klass)
parent_class = g_type_class_peek_parent (klass);
/**
* GstRegistry::plugin-added:
* @registry: the registry that emitted the signal
* @plugin: the plugin that has been added
*
* Signals that a plugin has been added to the registry (possibly
* replacing a previously-added one by the same name)
*/
gst_registry_signals[PLUGIN_ADDED] =
g_signal_new ("plugin-added", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL,
NULL, gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
/**
* GstRegistry::feature-added:
* @registry: the registry that emitted the signal
* @feature: the feature that has been added
*
* Signals that a feature has been added to the registry (possibly
* replacing a previously-added one by the same name)
*/
gst_registry_signals[FEATURE_ADDED] =
g_signal_new ("feature-added", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, feature_added),