From 014fbbc3a487f387de4fa9db11833b55fc4ed064 Mon Sep 17 00:00:00 2001 From: Owen Fraser-Green Date: Tue, 1 Jun 2004 20:08:52 +0000 Subject: Added property accessors for mixertrack and mixeroptions. Original commit message from CVS: Added property accessors for mixertrack and mixeroptions. --- gst-libs/gst/mixer/mixeroptions.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'gst-libs/gst/mixer/mixeroptions.h') diff --git a/gst-libs/gst/mixer/mixeroptions.h b/gst-libs/gst/mixer/mixeroptions.h index 586c9e48..d0a309ea 100644 --- a/gst-libs/gst/mixer/mixeroptions.h +++ b/gst-libs/gst/mixer/mixeroptions.h @@ -42,26 +42,32 @@ G_BEGIN_DECLS #define GST_IS_MIXER_OPTIONS_CLASS(klass) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MIXER_OPTIONS)) -typedef struct _GstMixerOptions { +typedef struct _GstMixerOptions GstMixerOptions; +typedef struct _GstMixerOptionsClass GstMixerOptionsClass; + +struct _GstMixerOptions { GstMixerTrack parent; /* list of strings */ GList *values; gpointer _gst_reserved[GST_PADDING]; -} GstMixerOptions; +}; -typedef struct _GstMixerOptionsClass { +struct _GstMixerOptionsClass { GstMixerTrackClass parent; + /* signals */ void (* option_changed) (GstMixerOptions *opts, gchar *value); gpointer _gst_reserved[GST_PADDING]; -} GstMixerOptionsClass; +}; GType gst_mixer_options_get_type (void); +GList * gst_mixer_options_get_values (GstMixerOptions *mixer_options); + G_END_DECLS #endif /* __GST_MIXER_OPTIONS_H__ */ -- cgit v1.2.1