waylandsink: add G_BEGIN/END_DECLS on all headers for consistency

This commit is contained in:
George Kiagiadakis 2014-05-22 10:10:51 +03:00
parent 882e1dd240
commit 0187be8e0c
3 changed files with 12 additions and 0 deletions

View file

@ -25,6 +25,8 @@
#include <wayland-client.h>
#include "scaler-client-protocol.h"
G_BEGIN_DECLS
#define GST_TYPE_WL_DISPLAY (gst_wl_display_get_type ())
#define GST_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_DISPLAY, GstWlDisplay))
#define GST_IS_WL_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_DISPLAY))
@ -68,4 +70,6 @@ GstWlDisplay *gst_wl_display_new (const gchar * name, GError ** error);
GstWlDisplay *gst_wl_display_new_existing (struct wl_display * display,
gboolean take_ownership, GError ** error);
G_END_DECLS
#endif /* __GST_WL_DISPLAY_H__ */

View file

@ -27,9 +27,13 @@
#include <wayland-client.h>
#include <gst/video/video.h>
G_BEGIN_DECLS
enum wl_shm_format gst_video_format_to_wayland_format (GstVideoFormat format);
GstVideoFormat gst_wayland_format_to_video_format (enum wl_shm_format wl_format);
const gchar *gst_wayland_format_to_string (enum wl_shm_format wl_format);
G_END_DECLS
#endif

View file

@ -23,6 +23,8 @@
#include "wldisplay.h"
G_BEGIN_DECLS
#define GST_TYPE_WL_WINDOW (gst_wl_window_get_type ())
#define GST_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_WL_WINDOW, GstWlWindow))
#define GST_IS_WL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_WL_WINDOW))
@ -63,4 +65,6 @@ gboolean gst_wl_window_is_toplevel (GstWlWindow *window);
void gst_wl_window_set_size (GstWlWindow * window, gint w, gint h);
G_END_DECLS
#endif /* __GST_WL_WINDOW_H__ */