src/: Add the remote surface role
[src/agl-compositor.git] / src / ivi-compositor.h
index 5244afe..671ceac 100644 (file)
@@ -91,6 +91,7 @@ struct ivi_compositor {
        struct wl_list popup_pending_apps;
        struct wl_list fullscreen_pending_apps;
        struct wl_list split_pending_apps;
+       struct wl_list remote_pending_apps;
 
        struct weston_layer hidden;
        struct weston_layer background;
@@ -149,6 +150,7 @@ enum ivi_surface_role {
        IVI_SURFACE_ROLE_FULLSCREEN,
        IVI_SURFACE_ROLE_SPLIT_V,
        IVI_SURFACE_ROLE_SPLIT_H,
+       IVI_SURFACE_ROLE_REMOTE,
 };
 
 struct pending_popup {
@@ -172,6 +174,12 @@ struct pending_split {
        struct wl_list link;    /** ivi_compositor::split_pending_apps */
 };
 
+struct pending_remote {
+       struct ivi_output *ioutput;
+       char *app_id;
+       struct wl_list link;    /** ivi_compositor::remote_pending_apps */
+};
+
 struct ivi_desktop_surface {
        struct ivi_output *pending_output;
        struct ivi_output *last_output;
@@ -196,6 +204,10 @@ struct ivi_split_surface {
        uint32_t orientation;
 };
 
+struct ivi_remote_surface {
+       struct ivi_output *output;
+};
+
 struct ivi_panel_surface {
        struct ivi_output *output;
        enum agl_shell_edge edge;
@@ -229,6 +241,7 @@ struct ivi_surface {
                struct ivi_popup_surface popup;
                struct ivi_fullscreen_surface fullscreen;
                struct ivi_split_surface split;
+               struct ivi_remote_surface remote;
        };
 };