/* Generated by wayland-scanner 1.23.1 */

#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include "wayland-util.h"

#ifndef __has_attribute
# define __has_attribute(x) 0  /* Compatibility with non-clang compilers. */
#endif

#if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4)
#define WL_PRIVATE __attribute__ ((visibility("hidden")))
#else
#define WL_PRIVATE
#endif

extern const struct wl_interface action_route_bind_interface;
extern const struct wl_interface action_route_key_grab_interface;
extern const struct wl_interface wl_surface_interface;

static const struct wl_interface *zwp_action_route_types[] = {
	NULL,
	&action_route_bind_interface,
	NULL,
	&action_route_key_grab_interface,
	&wl_surface_interface,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
};

static const struct wl_message action_route_requests[] = {
	{ "bind_action", "ns", zwp_action_route_types + 1 },
	{ "grab_key", "nosuus?s", zwp_action_route_types + 3 },
};

WL_PRIVATE const struct wl_interface action_route_interface = {
	"action_route", 1,
	2, action_route_requests,
	0, NULL,
};

static const struct wl_message action_route_bind_requests[] = {
	{ "activate", "?s", zwp_action_route_types + 0 },
	{ "destroy", "", zwp_action_route_types + 0 },
};

static const struct wl_message action_route_bind_events[] = {
	{ "status", "u", zwp_action_route_types + 0 },
	{ "end", "", zwp_action_route_types + 0 },
};

WL_PRIVATE const struct wl_interface action_route_bind_interface = {
	"action_route_bind", 1,
	2, action_route_bind_requests,
	2, action_route_bind_events,
};

static const struct wl_message action_route_key_grab_requests[] = {
	{ "destroy", "", zwp_action_route_types + 0 },
};

static const struct wl_message action_route_key_grab_events[] = {
	{ "status", "u", zwp_action_route_types + 0 },
};

WL_PRIVATE const struct wl_interface action_route_key_grab_interface = {
	"action_route_key_grab", 1,
	1, action_route_key_grab_requests,
	1, action_route_key_grab_events,
};

