Add Window screen mode apis with wayland
[platform/core/api/efl-util.git] / src / tizen_window_screen-protocol.c
1 #include <stdlib.h>
2 #include <stdint.h>
3 #include "wayland-util.h"
4
5 extern const struct wl_interface wl_surface_interface;
6
7 static const struct wl_interface *types[] = {
8         &wl_surface_interface,
9         NULL,
10         &wl_surface_interface,
11         NULL,
12         NULL,
13 };
14
15 static const struct wl_message tizen_window_screen_requests[] = {
16         { "set_mode", "ou", types + 0 },
17 };
18
19 static const struct wl_message tizen_window_screen_events[] = {
20         { "done", "ouu", types + 2 },
21 };
22
23 WL_EXPORT const struct wl_interface tizen_window_screen_interface = {
24         "tizen_window_screen", 1,
25         1, tizen_window_screen_requests,
26         1, tizen_window_screen_events,
27 };
28