mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 12:15:19 +00:00
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:
parent
476cdb3904
commit
636e022fed
3 changed files with 24 additions and 0 deletions
|
@ -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>
|
2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* docs/pwg/building-testapp.xml:
|
* docs/pwg/building-testapp.xml:
|
||||||
|
|
|
@ -17,6 +17,7 @@ gst_ghost_pad_get_type
|
||||||
gst_implements_interface_get_type
|
gst_implements_interface_get_type
|
||||||
gst_index_factory_get_type
|
gst_index_factory_get_type
|
||||||
gst_index_get_type
|
gst_index_get_type
|
||||||
|
gst_registry_get_type
|
||||||
|
|
||||||
% these are not GObject derived types !
|
% these are not GObject derived types !
|
||||||
% gst_mini_object_get_type
|
% gst_mini_object_get_type
|
||||||
|
|
|
@ -145,10 +145,27 @@ gst_registry_class_init (GstRegistryClass * klass)
|
||||||
|
|
||||||
parent_class = g_type_class_peek_parent (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] =
|
gst_registry_signals[PLUGIN_ADDED] =
|
||||||
g_signal_new ("plugin-added", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("plugin-added", G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL,
|
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, plugin_added), NULL,
|
||||||
NULL, gst_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
|
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] =
|
gst_registry_signals[FEATURE_ADDED] =
|
||||||
g_signal_new ("feature-added", G_TYPE_FROM_CLASS (klass),
|
g_signal_new ("feature-added", G_TYPE_FROM_CLASS (klass),
|
||||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, feature_added),
|
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstRegistryClass, feature_added),
|
||||||
|
|
Loading…
Reference in a new issue