interfaces: Seperate some more struct definitions from typedefs

This commit is contained in:
Sebastian Dröge 2009-05-11 18:29:34 +02:00
parent e057414049
commit 24dd91b1f0

View file

@ -37,25 +37,28 @@ G_BEGIN_DECLS
#define GST_IS_TUNER_NORM_CLASS(klass) \ #define GST_IS_TUNER_NORM_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TUNER_NORM)) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_TUNER_NORM))
typedef struct _GstTunerNorm GstTunerNorm;
typedef struct _GstTunerNormClass GstTunerNormClass;
/** /**
* GstTunerNorm: * GstTunerNorm:
* @label: A string containing a descriptive name for the norm * @label: A string containing a descriptive name for the norm
* @framerate: A GValue containing the framerate associated with this norm, * @framerate: A GValue containing the framerate associated with this norm,
* if any. (May be unset). * if any. (May be unset).
*/ */
typedef struct _GstTunerNorm { struct _GstTunerNorm {
GObject parent; GObject parent;
/*< public >*/ /*< public >*/
gchar *label; gchar *label;
GValue framerate; GValue framerate;
} GstTunerNorm; };
typedef struct _GstTunerNormClass { struct _GstTunerNormClass {
GObjectClass parent; GObjectClass parent;
gpointer _gst_reserved[GST_PADDING]; gpointer _gst_reserved[GST_PADDING];
} GstTunerNormClass; };
GType gst_tuner_norm_get_type (void); GType gst_tuner_norm_get_type (void);