AtlatestRepositorysigil-ui
1
/* Generated by wayland-scanner 1.24.0 */3
/*4
* Copyright © 2008-2011 Kristian Høgsberg5
* Copyright © 2010-2013 Intel Corporation6
* Copyright © 2012-2013 Collabora, Ltd.7
* Copyright © 2018 Purism SPC8
*9
* Permission is hereby granted, free of charge, to any person obtaining a10
* copy of this software and associated documentation files (the "Software"),11
* to deal in the Software without restriction, including without limitation12
* the rights to use, copy, modify, merge, publish, distribute, sublicense,13
* and/or sell copies of the Software, and to permit persons to whom the14
* Software is furnished to do so, subject to the following conditions:15
*16
* The above copyright notice and this permission notice (including the next17
* paragraph) shall be included in all copies or substantial portions of the18
* Software.19
*20
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR21
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,22
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL23
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER24
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING25
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER26
* DEALINGS IN THE SOFTWARE.27
*/29
#include <stdbool.h>30
#include <stdlib.h>31
#include <stdint.h>32
#include "wayland-util.h"34
#ifndef __has_attribute35
# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */36
#endif38
#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)39
#define WL_PRIVATE __attribute__ ((visibility("hidden")))40
#else41
#define WL_PRIVATE42
#endif44
extern const struct wl_interface wl_seat_interface;45
extern const struct wl_interface zwp_virtual_keyboard_v1_interface;47
static const struct wl_interface *virtual_keyboard_unstable_v1_types[] = {48
NULL,49
NULL,50
NULL,51
NULL,52
&wl_seat_interface,53
&zwp_virtual_keyboard_v1_interface,54
};56
static const struct wl_message zwp_virtual_keyboard_v1_requests[] = {57
{ "keymap", "uhu", virtual_keyboard_unstable_v1_types + 0 },58
{ "key", "uuu", virtual_keyboard_unstable_v1_types + 0 },59
{ "modifiers", "uuuu", virtual_keyboard_unstable_v1_types + 0 },60
{ "destroy", "", virtual_keyboard_unstable_v1_types + 0 },61
};63
WL_PRIVATE const struct wl_interface zwp_virtual_keyboard_v1_interface = {64
"zwp_virtual_keyboard_v1", 1,65
4, zwp_virtual_keyboard_v1_requests,66
0, NULL,67
};69
static const struct wl_message zwp_virtual_keyboard_manager_v1_requests[] = {70
{ "create_virtual_keyboard", "on", virtual_keyboard_unstable_v1_types + 4 },71
};73
WL_PRIVATE const struct wl_interface zwp_virtual_keyboard_manager_v1_interface = {74
"zwp_virtual_keyboard_manager_v1", 1,75
1, zwp_virtual_keyboard_manager_v1_requests,76
0, NULL,77
};