interfaces: Seperate some more struct definitions from typedefs

This commit is contained in:
Sebastian Dröge 2009-05-11 15:48:56 +02:00
parent 7638cd7c3b
commit e057414049
3 changed files with 9 additions and 6 deletions

View file

@ -37,15 +37,16 @@ G_BEGIN_DECLS
(G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface))
typedef struct _GstNavigation GstNavigation;
typedef struct _GstNavigationInterface GstNavigationInterface;
typedef struct _GstNavigationInterface {
struct _GstNavigationInterface {
GTypeInterface g_iface;
/* virtual functions */
void (*send_event) (GstNavigation *navigation, GstStructure *structure);
gpointer _gst_reserved[GST_PADDING];
} GstNavigationInterface;
};
GType gst_navigation_get_type (void);

View file

@ -42,6 +42,7 @@ G_BEGIN_DECLS
* Opaque #GstVideoOrientation data structure.
*/
typedef struct _GstVideoOrientation GstVideoOrientation;
typedef struct _GstVideoOrientationInterface GstVideoOrientationInterface;
/**
* GstVideoOrientationInterface:
@ -57,7 +58,7 @@ typedef struct _GstVideoOrientation GstVideoOrientation;
*
* #GstVideoOrientationInterface interface.
*/
typedef struct _GstVideoOrientationInterface {
struct _GstVideoOrientationInterface {
GTypeInterface parent;
/* virtual functions */
@ -73,7 +74,7 @@ typedef struct _GstVideoOrientationInterface {
/*< private > */
gpointer _gst_reserved[GST_PADDING];
} GstVideoOrientationInterface;
};
GType gst_video_orientation_get_type (void);

View file

@ -47,6 +47,7 @@ G_BEGIN_DECLS
* Opaque #GstXOverlay data structure.
*/
typedef struct _GstXOverlay GstXOverlay;
typedef struct _GstXOverlayClass GstXOverlayClass;
/**
* GstXOverlayClass:
@ -57,7 +58,7 @@ typedef struct _GstXOverlay GstXOverlay;
*
* #GstXOverlay interface
*/
typedef struct _GstXOverlayClass {
struct _GstXOverlayClass {
GTypeInterface klass;
/* virtual functions */
@ -71,7 +72,7 @@ typedef struct _GstXOverlayClass {
/*< private >*/
gpointer _gst_reserved[GST_PADDING - 1];
} GstXOverlayClass;
};
GType gst_x_overlay_get_type (void);