e_comp_wl_screenshooter: make an internal header
[platform/upstream/enlightenment.git] / src / bin / e_comp_wl_shell.h
1 #ifdef E_TYPEDEFS
2 #else
3 # ifndef E_COMP_WL_SHELL_H
4 #  define E_COMP_WL_SHELL_H
5
6 typedef struct
7 {
8    void (*configure_send)(struct wl_resource *resource, uint32_t edges, int32_t width, int32_t height);
9    void (*configure)(struct wl_resource *resource, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
10    void (*ping)(struct wl_resource *resource);
11    void (*map)(struct wl_resource *resource);
12    void (*unmap)(struct wl_resource *resource);
13 } E_Shell_Surface_Api;
14
15 EINTERN void e_comp_wl_shell_init(void);
16 EINTERN void e_comp_wl_shell_shutdown(void);
17
18 EINTERN Eina_Bool e_shell_e_client_shell_assignable_check(E_Client *ec);
19 EINTERN void      e_shell_e_client_shsurface_assign(E_Client *ec, struct wl_resource *shsurface, E_Shell_Surface_Api *api);
20 EINTERN void      e_shell_e_client_shsurface_api_set(E_Client *ec, E_Shell_Surface_Api *api);
21 EINTERN void      e_shell_e_client_toplevel_set(E_Client *ec);
22 EINTERN void      e_shell_e_client_popup_set(E_Client *ec);
23 EINTERN Eina_Bool e_shell_e_client_name_title_set(E_Client *ec, const char *name, const char *title);
24 EINTERN Eina_Bool e_shell_e_client_app_id_set(E_Client *ec, const char *app_id);
25 EINTERN void      e_shell_e_client_parent_set(E_Client *ec, struct wl_resource *parent_resource);
26 EINTERN void      e_shell_e_client_map(E_Client *ec);
27 EINTERN void      e_shell_e_client_unmap(E_Client *ec);
28 EINTERN Eina_Bool e_shell_e_client_interactive_move(E_Client *ec, struct wl_resource *seat);
29 EINTERN Eina_Bool e_shell_e_client_interactive_resize(E_Client *ec, struct wl_resource *resource, struct wl_resource *seat, uint32_t edges);
30 EINTERN void      e_shell_e_client_pong(E_Client *ec);
31 EINTERN void      e_shell_e_client_destroy(E_Client *ec);
32
33
34
35 # endif
36 #endif