AtlatestRepositorysigil-ui
1
/* Generated by wayland-scanner 1.24.0 */3
/*4
* Copyright © 2020 Aleix Pol Gonzalez <aleixpol@kde.org>5
* Copyright © 2020 Carlos Garnacho <carlosg@gnome.org>6
*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
*14
* The above copyright notice and this permission notice (including the next15
* paragraph) shall be included in all copies or substantial portions of the16
* Software.17
*18
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR19
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,20
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL21
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER22
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING23
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER24
* DEALINGS IN THE SOFTWARE.25
*/27
#include <stdbool.h>28
#include <stdlib.h>29
#include <stdint.h>30
#include "wayland-util.h"32
#ifndef __has_attribute33
# define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */34
#endif36
#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)37
#define WL_PRIVATE __attribute__ ((visibility("hidden")))38
#else39
#define WL_PRIVATE40
#endif42
extern const struct wl_interface wl_seat_interface;43
extern const struct wl_interface wl_surface_interface;44
extern const struct wl_interface xdg_activation_token_v1_interface;46
static const struct wl_interface *xdg_activation_v1_types[] = {47
NULL,48
&xdg_activation_token_v1_interface,49
NULL,50
&wl_surface_interface,51
NULL,52
&wl_seat_interface,53
&wl_surface_interface,54
};56
static const struct wl_message xdg_activation_v1_requests[] = {57
{ "destroy", "", xdg_activation_v1_types + 0 },58
{ "get_activation_token", "n", xdg_activation_v1_types + 1 },59
{ "activate", "so", xdg_activation_v1_types + 2 },60
};62
WL_PRIVATE const struct wl_interface xdg_activation_v1_interface = {63
"xdg_activation_v1", 1,64
3, xdg_activation_v1_requests,65
0, NULL,66
};68
static const struct wl_message xdg_activation_token_v1_requests[] = {69
{ "set_serial", "uo", xdg_activation_v1_types + 4 },70
{ "set_app_id", "s", xdg_activation_v1_types + 0 },71
{ "set_surface", "o", xdg_activation_v1_types + 6 },72
{ "commit", "", xdg_activation_v1_types + 0 },73
{ "destroy", "", xdg_activation_v1_types + 0 },74
};76
static const struct wl_message xdg_activation_token_v1_events[] = {77
{ "done", "s", xdg_activation_v1_types + 0 },78
};80
WL_PRIVATE const struct wl_interface xdg_activation_token_v1_interface = {81
"xdg_activation_token_v1", 1,82
5, xdg_activation_token_v1_requests,83
1, xdg_activation_token_v1_events,84
};