OLD | NEW |
1 /* Generated by wayland-scanner 1.11.0 */ | 1 /* Generated by wayland-scanner 1.11.0 */ |
2 | 2 |
3 /* | 3 /* |
4 * Copyright 2016 The Chromium Authors. | 4 * Copyright 2016 The Chromium Authors. |
5 * | 5 * |
6 * Permission is hereby granted, free of charge, to any person obtaining a | 6 * Permission is hereby granted, free of charge, to any person obtaining a |
7 * copy of this software and associated documentation files (the "Software"), | 7 * copy of this software and associated documentation files (the "Software"), |
8 * to deal in the Software without restriction, including without limitation | 8 * to deal in the Software without restriction, including without limitation |
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, | 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, |
10 * and/or sell copies of the Software, and to permit persons to whom the | 10 * and/or sell copies of the Software, and to permit persons to whom the |
(...skipping 11 matching lines...) Expand all Loading... |
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 * DEALINGS IN THE SOFTWARE. | 23 * DEALINGS IN THE SOFTWARE. |
24 */ | 24 */ |
25 | 25 |
26 #include <stdlib.h> | 26 #include <stdlib.h> |
27 #include <stdint.h> | 27 #include <stdint.h> |
28 #include "wayland-util.h" | 28 #include "wayland-util.h" |
29 | 29 |
30 extern const struct wl_interface wl_surface_interface; | 30 extern const struct wl_interface wl_surface_interface; |
31 extern const struct wl_interface zcr_security_v1_interface; | 31 extern const struct wl_interface zcr_security_v1_interface; |
32 extern const struct wl_interface zwp_security_v1_interface; | |
33 | 32 |
34 static const struct wl_interface *types[] = { | 33 static const struct wl_interface *types[] = { |
35 &zcr_security_v1_interface, | 34 &zcr_security_v1_interface, |
36 &wl_surface_interface, | 35 &wl_surface_interface, |
37 &zwp_security_v1_interface, | |
38 &wl_surface_interface, | |
39 }; | 36 }; |
40 | 37 |
41 static const struct wl_message zcr_secure_output_v1_requests[] = { | 38 static const struct wl_message zcr_secure_output_v1_requests[] = { |
42 { "destroy", "", types + 0 }, | 39 { "destroy", "", types + 0 }, |
43 { "get_security", "no", types + 0 }, | 40 { "get_security", "no", types + 0 }, |
44 }; | 41 }; |
45 | 42 |
46 WL_EXPORT const struct wl_interface zcr_secure_output_v1_interface = { | 43 WL_EXPORT const struct wl_interface zcr_secure_output_v1_interface = { |
47 "zcr_secure_output_v1", 1, | 44 "zcr_secure_output_v1", 1, |
48 2, zcr_secure_output_v1_requests, | 45 2, zcr_secure_output_v1_requests, |
49 0, NULL, | 46 0, NULL, |
50 }; | 47 }; |
51 | 48 |
52 static const struct wl_message zcr_security_v1_requests[] = { | 49 static const struct wl_message zcr_security_v1_requests[] = { |
53 { "destroy", "", types + 0 }, | 50 { "destroy", "", types + 0 }, |
54 { "only_visible_on_secure_output", "", types + 0 }, | 51 { "only_visible_on_secure_output", "", types + 0 }, |
55 }; | 52 }; |
56 | 53 |
57 WL_EXPORT const struct wl_interface zcr_security_v1_interface = { | 54 WL_EXPORT const struct wl_interface zcr_security_v1_interface = { |
58 "zcr_security_v1", 1, | 55 "zcr_security_v1", 1, |
59 2, zcr_security_v1_requests, | 56 2, zcr_security_v1_requests, |
60 0, NULL, | 57 0, NULL, |
61 }; | 58 }; |
62 | 59 |
63 static const struct wl_message zwp_secure_output_v1_requests[] = { | |
64 { "destroy", "", types + 0 }, | |
65 { "get_security", "no", types + 2 }, | |
66 }; | |
67 | |
68 WL_EXPORT const struct wl_interface zwp_secure_output_v1_interface = { | |
69 "zwp_secure_output_v1", 1, | |
70 2, zwp_secure_output_v1_requests, | |
71 0, NULL, | |
72 }; | |
73 | |
74 static const struct wl_message zwp_security_v1_requests[] = { | |
75 { "destroy", "", types + 0 }, | |
76 { "only_visible_on_secure_output", "", types + 0 }, | |
77 }; | |
78 | |
79 WL_EXPORT const struct wl_interface zwp_security_v1_interface = { | |
80 "zwp_security_v1", 1, | |
81 2, zwp_security_v1_requests, | |
82 0, NULL, | |
83 }; | |
84 | |
OLD | NEW |