AtlatestRepositorysigil-ui
1
/* Generated by wayland-scanner 1.24.0 */3
/*4
* Copyright 2018 The Chromium Authors5
* Copyright 2023 Simon Ser6
*7
* Permission is hereby granted, free of charge, to any person obtaining a8
* copy of this software and associated documentation files (the "Software"),9
* to deal in the Software without restriction, including without limitation10
* the rights to use, copy, modify, merge, publish, distribute, sublicense,11
* and/or sell copies of the Software, and to permit persons to whom the12
* Software is furnished to do so, subject to the following conditions:13
* The above copyright notice and this permission notice (including the next14
* paragraph) shall be included in all copies or substantial portions of the15
* Software.16
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR17
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,18
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL19
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER20
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING21
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER22
* DEALINGS IN THE SOFTWARE.23
*/25
#include <stdbool.h>26
#include <stdlib.h>27
#include <stdint.h>28
#include "wayland-util.h"30
#ifndef __has_attribute31
# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */32
#endif34
#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)35
#define WL_PRIVATE __attribute__ ((visibility("hidden")))36
#else37
#define WL_PRIVATE38
#endif40
extern const struct wl_interface wl_pointer_interface;41
extern const struct wl_interface wp_cursor_shape_device_v1_interface;42
extern const struct wl_interface zwp_tablet_tool_v2_interface;44
static const struct wl_interface *cursor_shape_v1_types[] = {45
NULL,46
NULL,47
&wp_cursor_shape_device_v1_interface,48
&wl_pointer_interface,49
&wp_cursor_shape_device_v1_interface,50
&zwp_tablet_tool_v2_interface,51
};53
static const struct wl_message wp_cursor_shape_manager_v1_requests[] = {54
{ "destroy", "", cursor_shape_v1_types + 0 },55
{ "get_pointer", "no", cursor_shape_v1_types + 2 },56
{ "get_tablet_tool_v2", "no", cursor_shape_v1_types + 4 },57
};59
WL_PRIVATE const struct wl_interface wp_cursor_shape_manager_v1_interface = {60
"wp_cursor_shape_manager_v1", 2,61
3, wp_cursor_shape_manager_v1_requests,62
0, NULL,63
};65
static const struct wl_message wp_cursor_shape_device_v1_requests[] = {66
{ "destroy", "", cursor_shape_v1_types + 0 },67
{ "set_shape", "uu", cursor_shape_v1_types + 0 },68
};70
WL_PRIVATE const struct wl_interface wp_cursor_shape_device_v1_interface = {71
"wp_cursor_shape_device_v1", 2,72
2, wp_cursor_shape_device_v1_requests,73
0, NULL,74
};