/* Generated by wayland-scanner 1.16.0 */

/*
 * Copyright (C) 2016 Oleg Chernovskiy
 *
 * 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_remote_buffer_interface;
extern const struct wl_interface wl_output_interface;

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

static const struct wl_message org_kde_kwin_remote_access_manager_requests[] = {
	{ "get_buffer", "ni", types + 5 },
	{ "release", "", types + 0 },
};

static const struct wl_message org_kde_kwin_remote_access_manager_events[] = {
	{ "buffer_ready", "io", types + 7 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_remote_access_manager_interface = {
	"org_kde_kwin_remote_access_manager", 1,
	2, org_kde_kwin_remote_access_manager_requests,
	1, org_kde_kwin_remote_access_manager_events,
};

static const struct wl_message org_kde_kwin_remote_buffer_requests[] = {
	{ "release", "", types + 0 },
};

static const struct wl_message org_kde_kwin_remote_buffer_events[] = {
	{ "gbm_handle", "huuuu", types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_remote_buffer_interface = {
	"org_kde_kwin_remote_buffer", 1,
	1, org_kde_kwin_remote_buffer_requests,
	1, org_kde_kwin_remote_buffer_events,
};

