/* Generated by wayland-scanner 1.16.0 */

/*
 * Copyright (C) 2018 Marco Martin
 *
 * 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_virtual_desktop_interface;

static const struct wl_interface *types[] = {
	NULL,
	NULL,
	&org_kde_plasma_virtual_desktop_interface,
	NULL,
};

static const struct wl_message org_kde_plasma_virtual_desktop_management_requests[] = {
	{ "get_virtual_desktop", "ns", types + 2 },
	{ "request_create_virtual_desktop", "su", types + 0 },
	{ "request_remove_virtual_desktop", "s", types + 0 },
};

static const struct wl_message org_kde_plasma_virtual_desktop_management_events[] = {
	{ "desktop_created", "su", types + 0 },
	{ "desktop_removed", "s", types + 0 },
	{ "done", "", types + 0 },
	{ "rows", "2u", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_plasma_virtual_desktop_management_interface = {
	"org_kde_plasma_virtual_desktop_management", 2,
	3, org_kde_plasma_virtual_desktop_management_requests,
	4, org_kde_plasma_virtual_desktop_management_events,
};

static const struct wl_message org_kde_plasma_virtual_desktop_requests[] = {
	{ "request_activate", "", types + 0 },
};

static const struct wl_message org_kde_plasma_virtual_desktop_events[] = {
	{ "desktop_id", "s", types + 0 },
	{ "name", "s", types + 0 },
	{ "activated", "", types + 0 },
	{ "deactivated", "", types + 0 },
	{ "done", "", types + 0 },
	{ "removed", "", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_plasma_virtual_desktop_interface = {
	"org_kde_plasma_virtual_desktop", 1,
	1, org_kde_plasma_virtual_desktop_requests,
	6, org_kde_plasma_virtual_desktop_events,
};

