Debian Codegraph @

client/wayland/virtual-keyboard-unstable-v1-protocol.c

raw
1 /* Generated by wayland-scanner 1.24.0 */
2
3 /*
4 * Copyright © 2008-2011 Kristian Høgsberg
5 * Copyright © 2010-2013 Intel Corporation
6 * Copyright © 2012-2013 Collabora, Ltd.
7 * Copyright © 2018 Purism SPC
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice (including the next
17 * paragraph) shall be included in all copies or substantial portions of the
18 * Software.
19 *
20 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
23 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
25 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
26 * DEALINGS IN THE SOFTWARE.
27 */
28
29 #include <stdbool.h>
30 #include <stdlib.h>
31 #include <stdint.h>
32 #include "wayland-util.h"
33
34 extern const struct wl_interface wl_seat_interface;
35 extern const struct wl_interface zwp_virtual_keyboard_v1_interface;
36
37 static const struct wl_interface *virtual_keyboard_unstable_v1_types[] = {
38 NULL,
39 NULL,
40 NULL,
41 NULL,
42 &wl_seat_interface,
43 &zwp_virtual_keyboard_v1_interface,
44 };
45
46 static const struct wl_message zwp_virtual_keyboard_v1_requests[] = {
47 { "keymap", "uhu", virtual_keyboard_unstable_v1_types + 0 },
48 { "key", "uuu", virtual_keyboard_unstable_v1_types + 0 },
49 { "modifiers", "uuuu", virtual_keyboard_unstable_v1_types + 0 },
50 { "destroy", "", virtual_keyboard_unstable_v1_types + 0 },
51 };
52
53 WL_EXPORT const struct wl_interface zwp_virtual_keyboard_v1_interface = {
54 "zwp_virtual_keyboard_v1", 1,
55 4, zwp_virtual_keyboard_v1_requests,
56 0, NULL,
57 };
58
59 static const struct wl_message zwp_virtual_keyboard_manager_v1_requests[] = {
60 { "create_virtual_keyboard", "on", virtual_keyboard_unstable_v1_types + 4 },
61 };
62
63 WL_EXPORT const struct wl_interface zwp_virtual_keyboard_manager_v1_interface = {
64 "zwp_virtual_keyboard_manager_v1", 1,
65 1, zwp_virtual_keyboard_manager_v1_requests,
66 0, NULL,
67 };
68