/* Generated by wayland-scanner 1.16.0 */

/*
 * Copyright (C) 2015 Martin Gräßlin
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

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

extern const struct wl_interface org_kde_kwin_shadow_interface;
extern const struct wl_interface wl_buffer_interface;
extern const struct wl_interface wl_surface_interface;

static const struct wl_interface *types[] = {
	NULL,
	&org_kde_kwin_shadow_interface,
	&wl_surface_interface,
	&wl_surface_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
	&wl_buffer_interface,
};

static const struct wl_message org_kde_kwin_shadow_manager_requests[] = {
	{ "create", "no", types + 1 },
	{ "unset", "o", types + 3 },
	{ "destroy", "2", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_shadow_manager_interface = {
	"org_kde_kwin_shadow_manager", 2,
	3, org_kde_kwin_shadow_manager_requests,
	0, NULL,
};

static const struct wl_message org_kde_kwin_shadow_requests[] = {
	{ "commit", "", types + 0 },
	{ "attach_left", "o", types + 4 },
	{ "attach_top_left", "o", types + 5 },
	{ "attach_top", "o", types + 6 },
	{ "attach_top_right", "o", types + 7 },
	{ "attach_right", "o", types + 8 },
	{ "attach_bottom_right", "o", types + 9 },
	{ "attach_bottom", "o", types + 10 },
	{ "attach_bottom_left", "o", types + 11 },
	{ "set_left_offset", "f", types + 0 },
	{ "set_top_offset", "f", types + 0 },
	{ "set_right_offset", "f", types + 0 },
	{ "set_bottom_offset", "f", types + 0 },
	{ "destroy", "2", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_shadow_interface = {
	"org_kde_kwin_shadow", 2,
	14, org_kde_kwin_shadow_requests,
	0, NULL,
};

