/* Generated by wayland-scanner 1.16.0 */

/*
 * Copyright (C) 2013-2014 Pier Luigi Fiorini
 *
 * 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_plasma_surface_interface;
extern const struct wl_interface wl_output_interface;
extern const struct wl_interface wl_surface_interface;

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

static const struct wl_message org_kde_plasma_shell_requests[] = {
	{ "get_surface", "no", types + 2 },
};

WL_EXPORT const struct wl_interface org_kde_plasma_shell_interface = {
	"org_kde_plasma_shell", 6,
	1, org_kde_plasma_shell_requests,
	0, NULL,
};

static const struct wl_message org_kde_plasma_surface_requests[] = {
	{ "destroy", "", types + 0 },
	{ "set_output", "o", types + 4 },
	{ "set_position", "ii", types + 0 },
	{ "set_role", "u", types + 0 },
	{ "set_panel_behavior", "u", types + 0 },
	{ "set_skip_taskbar", "2u", types + 0 },
	{ "panel_auto_hide_hide", "4", types + 0 },
	{ "panel_auto_hide_show", "4", types + 0 },
	{ "set_panel_takes_focus", "4u", types + 0 },
	{ "set_skip_switcher", "5u", types + 0 },
};

static const struct wl_message org_kde_plasma_surface_events[] = {
	{ "auto_hidden_panel_hidden", "4", types + 0 },
	{ "auto_hidden_panel_shown", "4", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_plasma_surface_interface = {
	"org_kde_plasma_surface", 6,
	10, org_kde_plasma_surface_requests,
	2, org_kde_plasma_surface_events,
};

