interfaces: Seperate some more struct definitions from typedefs
This commit is contained in:
parent
7638cd7c3b
commit
e057414049
@ -37,15 +37,16 @@ G_BEGIN_DECLS
|
|||||||
(G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface))
|
(G_TYPE_INSTANCE_GET_INTERFACE ((obj), GST_TYPE_NAVIGATION, GstNavigationInterface))
|
||||||
|
|
||||||
typedef struct _GstNavigation GstNavigation;
|
typedef struct _GstNavigation GstNavigation;
|
||||||
|
typedef struct _GstNavigationInterface GstNavigationInterface;
|
||||||
|
|
||||||
typedef struct _GstNavigationInterface {
|
struct _GstNavigationInterface {
|
||||||
GTypeInterface g_iface;
|
GTypeInterface g_iface;
|
||||||
|
|
||||||
/* virtual functions */
|
/* virtual functions */
|
||||||
void (*send_event) (GstNavigation *navigation, GstStructure *structure);
|
void (*send_event) (GstNavigation *navigation, GstStructure *structure);
|
||||||
|
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
} GstNavigationInterface;
|
};
|
||||||
|
|
||||||
GType gst_navigation_get_type (void);
|
GType gst_navigation_get_type (void);
|
||||||
|
|
||||||
|
@ -42,6 +42,7 @@ G_BEGIN_DECLS
|
|||||||
* Opaque #GstVideoOrientation data structure.
|
* Opaque #GstVideoOrientation data structure.
|
||||||
*/
|
*/
|
||||||
typedef struct _GstVideoOrientation GstVideoOrientation;
|
typedef struct _GstVideoOrientation GstVideoOrientation;
|
||||||
|
typedef struct _GstVideoOrientationInterface GstVideoOrientationInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstVideoOrientationInterface:
|
* GstVideoOrientationInterface:
|
||||||
@ -57,7 +58,7 @@ typedef struct _GstVideoOrientation GstVideoOrientation;
|
|||||||
*
|
*
|
||||||
* #GstVideoOrientationInterface interface.
|
* #GstVideoOrientationInterface interface.
|
||||||
*/
|
*/
|
||||||
typedef struct _GstVideoOrientationInterface {
|
struct _GstVideoOrientationInterface {
|
||||||
GTypeInterface parent;
|
GTypeInterface parent;
|
||||||
|
|
||||||
/* virtual functions */
|
/* virtual functions */
|
||||||
@ -73,7 +74,7 @@ typedef struct _GstVideoOrientationInterface {
|
|||||||
|
|
||||||
/*< private > */
|
/*< private > */
|
||||||
gpointer _gst_reserved[GST_PADDING];
|
gpointer _gst_reserved[GST_PADDING];
|
||||||
} GstVideoOrientationInterface;
|
};
|
||||||
|
|
||||||
GType gst_video_orientation_get_type (void);
|
GType gst_video_orientation_get_type (void);
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ G_BEGIN_DECLS
|
|||||||
* Opaque #GstXOverlay data structure.
|
* Opaque #GstXOverlay data structure.
|
||||||
*/
|
*/
|
||||||
typedef struct _GstXOverlay GstXOverlay;
|
typedef struct _GstXOverlay GstXOverlay;
|
||||||
|
typedef struct _GstXOverlayClass GstXOverlayClass;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstXOverlayClass:
|
* GstXOverlayClass:
|
||||||
@ -57,7 +58,7 @@ typedef struct _GstXOverlay GstXOverlay;
|
|||||||
*
|
*
|
||||||
* #GstXOverlay interface
|
* #GstXOverlay interface
|
||||||
*/
|
*/
|
||||||
typedef struct _GstXOverlayClass {
|
struct _GstXOverlayClass {
|
||||||
GTypeInterface klass;
|
GTypeInterface klass;
|
||||||
|
|
||||||
/* virtual functions */
|
/* virtual functions */
|
||||||
@ -71,7 +72,7 @@ typedef struct _GstXOverlayClass {
|
|||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
gpointer _gst_reserved[GST_PADDING - 1];
|
gpointer _gst_reserved[GST_PADDING - 1];
|
||||||
} GstXOverlayClass;
|
};
|
||||||
|
|
||||||
GType gst_x_overlay_get_type (void);
|
GType gst_x_overlay_get_type (void);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user