libweston: Move text_backend_* to weston.h
authorQuentin Glidic <sardemff7+git@sardemff7.net>
Thu, 18 Aug 2016 09:15:44 +0000 (11:15 +0200)
committerDaniel Stone <daniels@collabora.com>
Mon, 21 Nov 2016 11:03:20 +0000 (11:03 +0000)
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Reviewed-by: Daniel Stone <daniels@collabora.com>
compositor/weston.h
libweston/compositor.h

index bff5cc1..bb04002 100644 (file)
@@ -66,6 +66,14 @@ wet_load_module(const char *name, const char *entrypoint);
 int
 wet_load_xwayland(struct weston_compositor *comp);
 
+struct text_backend;
+
+struct text_backend *
+text_backend_init(struct weston_compositor *ec);
+
+void
+text_backend_destroy(struct text_backend *text_backend);
+
 #ifdef  __cplusplus
 }
 #endif
index 4ca52f9..534c8c2 100644 (file)
@@ -1690,14 +1690,6 @@ weston_recorder_stop(struct weston_recorder *recorder);
 struct clipboard *
 clipboard_create(struct weston_seat *seat);
 
-struct text_backend;
-
-struct text_backend *
-text_backend_init(struct weston_compositor *ec);
-
-void
-text_backend_destroy(struct text_backend *text_backend);
-
 struct weston_view_animation;
 typedef        void (*weston_view_animation_done_func_t)(struct weston_view_animation *animation, void *data);