mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
interfaces: Seperate some more struct definitions from typedefs
This commit is contained in:
parent
7638cd7c3b
commit
e057414049
3 changed files with 9 additions and 6 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue