/* Generated by wayland-scanner 1.24.0 */

/*
 * SPDX-FileCopyrightText: 2023 Corentin Noël <tintou@noel.tf>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#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 io_elementary_pantheon_extended_behavior_v1_interface;
extern const struct wl_interface io_elementary_pantheon_panel_v1_interface;
extern const struct wl_interface io_elementary_pantheon_widget_v1_interface;
extern const struct wl_interface wl_surface_interface;

static const struct wl_interface *pantheon_shell_v1_types[] = {
	NULL,
	NULL,
	&io_elementary_pantheon_panel_v1_interface,
	&wl_surface_interface,
	&io_elementary_pantheon_widget_v1_interface,
	&wl_surface_interface,
	&io_elementary_pantheon_extended_behavior_v1_interface,
	&wl_surface_interface,
};

static const struct wl_message io_elementary_pantheon_shell_v1_requests[] = {
	{ "get_panel", "no", pantheon_shell_v1_types + 2 },
	{ "get_widget", "no", pantheon_shell_v1_types + 4 },
	{ "get_extended_behavior", "no", pantheon_shell_v1_types + 6 },
};

WL_PRIVATE const struct wl_interface io_elementary_pantheon_shell_v1_interface = {
	"io_elementary_pantheon_shell_v1", 1,
	3, io_elementary_pantheon_shell_v1_requests,
	0, NULL,
};

static const struct wl_message io_elementary_pantheon_panel_v1_requests[] = {
	{ "destroy", "", pantheon_shell_v1_types + 0 },
	{ "set_anchor", "u", pantheon_shell_v1_types + 0 },
	{ "focus", "", pantheon_shell_v1_types + 0 },
	{ "set_size", "ii", pantheon_shell_v1_types + 0 },
	{ "set_hide_mode", "u", pantheon_shell_v1_types + 0 },
};

WL_PRIVATE const struct wl_interface io_elementary_pantheon_panel_v1_interface = {
	"io_elementary_pantheon_panel_v1", 1,
	5, io_elementary_pantheon_panel_v1_requests,
	0, NULL,
};

static const struct wl_message io_elementary_pantheon_widget_v1_requests[] = {
	{ "destroy", "", pantheon_shell_v1_types + 0 },
};

WL_PRIVATE const struct wl_interface io_elementary_pantheon_widget_v1_interface = {
	"io_elementary_pantheon_widget_v1", 1,
	1, io_elementary_pantheon_widget_v1_requests,
	0, NULL,
};

static const struct wl_message io_elementary_pantheon_extended_behavior_v1_requests[] = {
	{ "destroy", "", pantheon_shell_v1_types + 0 },
	{ "set_keep_above", "", pantheon_shell_v1_types + 0 },
};

WL_PRIVATE const struct wl_interface io_elementary_pantheon_extended_behavior_v1_interface = {
	"io_elementary_pantheon_extended_behavior_v1", 1,
	2, io_elementary_pantheon_extended_behavior_v1_requests,
	0, NULL,
};

