mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
soup: Use G_DECLARE_FINAL_TYPE
This commit is contained in:
parent
5ccd5659c4
commit
e6c3a524ce
1 changed files with 3 additions and 15 deletions
|
@ -26,13 +26,8 @@
|
|||
G_BEGIN_DECLS
|
||||
|
||||
#define GST_TYPE_SOUP_HTTP_CLIENT_SINK (gst_soup_http_client_sink_get_type())
|
||||
#define GST_SOUP_HTTP_CLIENT_SINK(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_SOUP_HTTP_CLIENT_SINK,GstSoupHttpClientSink))
|
||||
#define GST_SOUP_HTTP_CLIENT_SINK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_SOUP_HTTP_CLIENT_SINK,GstSoupHttpClientSinkClass))
|
||||
#define GST_IS_SOUP_HTTP_CLIENT_SINK(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_SOUP_HTTP_CLIENT_SINK))
|
||||
#define GST_IS_SOUP_HTTP_CLIENT_SINK_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_SOUP_HTTP_CLIENT_SINK))
|
||||
|
||||
typedef struct _GstSoupHttpClientSink GstSoupHttpClientSink;
|
||||
typedef struct _GstSoupHttpClientSinkClass GstSoupHttpClientSinkClass;
|
||||
G_DECLARE_FINAL_TYPE (GstSoupHttpClientSink, gst_soup_http_client_sink,
|
||||
GST, SOUP_HTTP_CLIENT_SINK, GstBaseSink)
|
||||
|
||||
struct _GstSoupHttpClientSink
|
||||
{
|
||||
|
@ -73,13 +68,6 @@ struct _GstSoupHttpClientSink
|
|||
gint retries;
|
||||
};
|
||||
|
||||
struct _GstSoupHttpClientSinkClass
|
||||
{
|
||||
GstBaseSinkClass base_souphttpsink_class;
|
||||
};
|
||||
|
||||
GType gst_soup_http_client_sink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue