| gstpluginfeature.h | gstpluginfeature.h | |||
|---|---|---|---|---|
| skipping to change at line 31 | skipping to change at line 31 | |||
| */ | */ | |||
| #ifndef __GST_PLUGIN_FEATURE_H__ | #ifndef __GST_PLUGIN_FEATURE_H__ | |||
| #define __GST_PLUGIN_FEATURE_H__ | #define __GST_PLUGIN_FEATURE_H__ | |||
| #include <glib-object.h> | #include <glib-object.h> | |||
| #include <gst/gstobject.h> | #include <gst/gstobject.h> | |||
| G_BEGIN_DECLS | G_BEGIN_DECLS | |||
| #define GST_TYPE_PLUGIN_FEATURE (gst_plugin_feature_get_type | #define GST_TYPE_PLUGIN_FEATURE (gst_plugin_feature_get_typ | |||
| ()) | e()) | |||
| #define GST_PLUGIN_FEATURE(obj) (G_TYPE_CHECK_INSTANCE_CAST | #define GST_PLUGIN_FEATURE(obj) (G_TYPE_CHECK_INSTANCE_CAST | |||
| ((obj), GST_TYPE_PLUGIN_FEATURE, GstPluginFeature)) | ((obj), GST_TYPE_PLUGIN_FEATURE, GstPluginFeature)) | |||
| #define GST_IS_PLUGIN_FEATURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE | #define GST_IS_PLUGIN_FEATURE(obj) (G_TYPE_CHECK_INSTANCE_TYPE | |||
| ((obj), GST_TYPE_PLUGIN_FEATURE)) | ((obj), GST_TYPE_PLUGIN_FEATURE)) | |||
| #define GST_PLUGIN_FEATURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k | #define GST_PLUGIN_FEATURE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( | |||
| lass), GST_TYPE_PLUGIN_FEATURE, GstPluginFeatureClass)) | klass), GST_TYPE_PLUGIN_FEATURE, GstPluginFeatureClass)) | |||
| #define GST_IS_PLUGIN_FEATURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k | #define GST_IS_PLUGIN_FEATURE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( | |||
| lass), GST_TYPE_PLUGIN_FEATURE)) | klass), GST_TYPE_PLUGIN_FEATURE)) | |||
| #define GST_PLUGIN_FEATURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( | #define GST_PLUGIN_FEATURE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS | |||
| (obj), GST_TYPE_PLUGIN_FEATURE, GstPluginFeatureClass)) | ((obj), GST_TYPE_PLUGIN_FEATURE, GstPluginFeatureClass)) | |||
| #define GST_PLUGIN_FEATURE_CAST(obj) ((GstPluginFeature*)(obj)) | #define GST_PLUGIN_FEATURE_CAST(obj) ((GstPluginFeature*)(obj)) | |||
| /** | /** | |||
| * GST_PLUGIN_FEATURE_NAME: | * GST_PLUGIN_FEATURE_NAME: | |||
| * @feature: The feature to query | * @feature: The feature to query | |||
| * | * | |||
| * Get the name of the feature | * Get the name of the feature | |||
| */ | */ | |||
| #define GST_PLUGIN_FEATURE_NAME(feature) (GST_PLUGIN_FEATURE (feature)->na me) | #define GST_PLUGIN_FEATURE_NAME(feature) (GST_PLUGIN_FEATURE (feature)->na me) | |||
| typedef struct _GstPluginFeature GstPluginFeature; | typedef struct _GstPluginFeature GstPluginFeature; | |||
| skipping to change at line 92 | skipping to change at line 92 | |||
| gchar *name; | gchar *name; | |||
| guint rank; | guint rank; | |||
| const gchar *plugin_name; | const gchar *plugin_name; | |||
| /*< private >*/ | /*< private >*/ | |||
| gpointer _gst_reserved[GST_PADDING]; | gpointer _gst_reserved[GST_PADDING]; | |||
| }; | }; | |||
| struct _GstPluginFeatureClass { | struct _GstPluginFeatureClass { | |||
| GstObjectClass parent_class; | GstObjectClass parent_class; | |||
| /*< private >*/ | /*< private >*/ | |||
| gpointer _gst_reserved[GST_PADDING]; | gpointer _gst_reserved[GST_PADDING]; | |||
| }; | }; | |||
| /** | /** | |||
| * GstTypeNameData: | * GstTypeNameData: | |||
| * @name: a name | * @name: a name | |||
| * @type: a GType | * @type: a GType | |||
| * | * | |||
| * Structure used for filtering based on @name and @type. | * Structure used for filtering based on @name and @type. | |||
| */ | */ | |||
| typedef struct { | typedef struct { | |||
| const gchar *name; | const gchar *name; | |||
| GType type; | GType type; | |||
| } GstTypeNameData; | } GstTypeNameData; | |||
| /** | /** | |||
| * GstPluginFeatureFilter: | * GstPluginFeatureFilter: | |||
| * @feature: the pluginfeature to check | * @feature: the pluginfeature to check | |||
| * @user_data: the user_data that has been passed on e.g. | * @user_data: the user_data that has been passed on e.g. | |||
| * gst_registry_feature_filter() | * gst_registry_feature_filter() | |||
| * | * | |||
| * A function that can be used with e.g. gst_registry_feature_filter() | * A function that can be used with e.g. gst_registry_feature_filter() | |||
| * to get a list of pluginfeature that match certain criteria. | * to get a list of pluginfeature that match certain criteria. | |||
| * | * | |||
| * Returns: %TRUE for a positive match, %FALSE otherwise | * Returns: %TRUE for a positive match, %FALSE otherwise | |||
| */ | */ | |||
| typedef gboolean (*GstPluginFeatureFilter) (GstPluginFeature * feature, | typedef gboolean (*GstPluginFeatureFilter) (GstPluginFeature * feature, | |||
| gpointer user_data ); | gpointer user_data ); | |||
| /* normal GObject stuff */ | /* normal GObject stuff */ | |||
| GType gst_plugin_feature_get_type (void); | GType gst_plugin_feature_get_type (void); | |||
| GstPluginFeature * | GstPluginFeature * | |||
| gst_plugin_feature_load (GstPluginFeature *f eature); | gst_plugin_feature_load (GstPluginFeature * feature); | |||
| gboolean gst_plugin_feature_type_name_filter (GstPluginFeature *f | gboolean gst_plugin_feature_type_name_filter (GstPluginFeature * | |||
| eature, | feature, | |||
| GstTypeNameData *da | GstTypeNameData *d | |||
| ta); | ata); | |||
| void gst_plugin_feature_set_rank (GstPluginFeature *f | void gst_plugin_feature_set_rank (GstPluginFeature * | |||
| eature, guint rank); | feature, guint rank); | |||
| void gst_plugin_feature_set_name (GstPluginFeature *f | void gst_plugin_feature_set_name (GstPluginFeature * | |||
| eature, const gchar *name); | feature, const gchar *name); | |||
| guint gst_plugin_feature_get_rank (GstPluginFeature *f | guint gst_plugin_feature_get_rank (GstPluginFeature * | |||
| eature); | feature); | |||
| G_CONST_RETURN gchar *gst_plugin_feature_get_name (GstPluginFeature *f | G_CONST_RETURN gchar *gst_plugin_feature_get_name (GstPluginFeature * | |||
| eature); | feature); | |||
| void gst_plugin_feature_list_free (GList *list); | void gst_plugin_feature_list_free (GList *list); | |||
| GList *gst_plugin_feature_list_copy (GList *list); | ||||
| void gst_plugin_feature_list_debug (GList *list); | ||||
| #ifndef GST_DISABLE_GST_DEBUG | ||||
| #define GST_PLUGIN_FEATURE_LIST_DEBUG(list) gst_plugin_feature_list_debug(l | ||||
| ist) | ||||
| #else | ||||
| #define GST_PLUGIN_FEATURE_LIST_DEBUG(list) | ||||
| #endif | ||||
| gboolean gst_plugin_feature_check_version (GstPluginFeature * feature, | gboolean gst_plugin_feature_check_version (GstPluginFeature * feature, | |||
| guint min_major, | guint min_major, | |||
| guint min_minor, | guint min_minor, | |||
| guint min_micro); | guint min_micro); | |||
| gint gst_plugin_feature_rank_compare_func (gconstpointer p1, | ||||
| gconstpointer p2); | ||||
| G_END_DECLS | G_END_DECLS | |||
| #endif /* __GST_PLUGIN_FEATURE_H__ */ | #endif /* __GST_PLUGIN_FEATURE_H__ */ | |||
| End of changes. 9 change blocks. | ||||
| 30 lines changed or deleted | 41 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||