src: Hold a reference for remoting_api in the ivi_compositor
[src/agl-compositor.git] / src / ivi-compositor.h
index b3cc3af..3b25915 100644 (file)
@@ -34,6 +34,8 @@
 #include <libweston/windowed-output-api.h>
 #include <libweston-desktop/libweston-desktop.h>
 
+#include "remote.h"
+
 #include "agl-shell-server-protocol.h"
 
 struct ivi_compositor;
@@ -66,6 +68,7 @@ struct ivi_compositor {
        } cmdline;
        const struct weston_windowed_output_api *window_api;
        const struct weston_drm_output_api *drm_api;
+       const struct weston_remoting_api *remoting_api;
 
        struct wl_global *agl_shell;
        struct wl_global *agl_shell_desktop;
@@ -136,6 +139,8 @@ struct ivi_output {
        /* Temporary: only used during configuration */
        size_t add_len;
        struct weston_head *add[8];
+
+       char *app_id;
 };
 
 enum ivi_surface_role {
@@ -325,9 +330,6 @@ ivi_layout_activate(struct ivi_output *output, const char *app_id);
 void
 ivi_layout_desktop_committed(struct ivi_surface *surf);
 
-void
-ivi_layout_panel_committed(struct ivi_surface *surface);
-
 void
 ivi_layout_popup_committed(struct ivi_surface *surface);
 
@@ -353,4 +355,7 @@ insert_black_surface(struct ivi_output *output);
 void
 remove_black_surface(struct ivi_output *output);
 
+const char *
+ivi_layout_get_surface_role_name(struct ivi_surface *surf);
+
 #endif