diff -r 71e347f905f2 -r 4a7fac7dd34a gstreamer_core/gst/gstminiobject.h --- a/gstreamer_core/gst/gstminiobject.h Fri Mar 19 09:35:09 2010 +0200 +++ b/gstreamer_core/gst/gstminiobject.h Fri Apr 16 15:15:52 2010 +0300 @@ -204,10 +204,39 @@ void gst_mini_object_replace (GstMiniObject **olddata, GstMiniObject *newdata); /* GParamSpec */ + +#define GST_TYPE_PARAM_MINI_OBJECT (gst_param_spec_mini_object_get_type()) +#define GST_IS_PARAM_SPEC_MINI_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_TYPE ((pspec), \ + GST_TYPE_PARAM_MINI_OBJECT)) +#define GST_PARAM_SPEC_MINI_OBJECT(pspec) (G_TYPE_CHECK_INSTANCE_CAST ((pspec), \ + GST_TYPE_PARAM_MINI_OBJECT, \ + GstParamSpecMiniObject)) + +typedef struct _GstParamSpecMiniObject GstParamSpecMiniObject; + +/** + * GstParamSpecMiniObject: + * @parent_instance: private %GParamSpec portion + * + * A %GParamSpec derived structure that contains the meta data + * for %GstMiniObject properties. + */ +struct _GstParamSpecMiniObject +{ + GParamSpec parent_instance; +}; #ifdef __SYMBIAN32__ IMPORT_C #endif + + +GType gst_param_spec_mini_object_get_type (void); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + + GParamSpec* gst_param_spec_mini_object (const char *name, const char *nick, const char *blurb, GType object_type, GParamFlags flags); @@ -217,6 +246,7 @@ IMPORT_C #endif + void gst_value_set_mini_object (GValue *value, GstMiniObject *mini_object); #ifdef __SYMBIAN32__ IMPORT_C @@ -228,6 +258,11 @@ #endif GstMiniObject* gst_value_get_mini_object (const GValue *value); +#ifdef __SYMBIAN32__ +IMPORT_C +#endif + +GstMiniObject* gst_value_dup_mini_object (const GValue *value); G_END_DECLS