Add more grpc - Asyncstuff
[src/agl-compositor.git] / src / ivi-compositor.h
index 5a0f66c..891c093 100644 (file)
@@ -86,14 +86,13 @@ struct ivi_compositor {
        struct {
                struct wl_client *client;
                struct wl_resource *resource;
-
-               struct wl_client *client_ext;
                struct wl_resource *resource_ext;
                bool ready;
                enum agl_shell_bound_status status;
        } shell_client;
 
        struct {
+               struct wl_client *client;
                struct wl_resource *resource;
                bool doas_requested;
                enum agl_shell_bound_status status;
@@ -361,7 +360,7 @@ int
 ivi_shell_create_global(struct ivi_compositor *ivi);
 
 int
-ivi_launch_shell_client(struct ivi_compositor *ivi);
+ivi_launch_shell_client(struct ivi_compositor *ivi, const char *cmd_section, struct wl_client **client);
 
 int
 ivi_desktop_init(struct ivi_compositor *ivi);
@@ -497,4 +496,8 @@ ivi_shell_activate_surface(struct ivi_surface *ivi_surf,
 int
 sigchld_handler(int signal_number, void *data);
 
+void
+shell_send_app_state(struct ivi_compositor *ivi, const char *app_id,
+                    enum agl_shell_app_state state);
+
 #endif