/* Generated by wayland-scanner 1.24.0 */

/*
 * SPDX-FileCopyrightText: 2015 Martin Gräßlin
 * SPDX-FileCopyrightText: 2015 Marco Martin
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

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

extern const struct wl_interface org_kde_kwin_contrast_interface;
extern const struct wl_interface wl_region_interface;
extern const struct wl_interface wl_surface_interface;

static const struct wl_interface *contrast_types[] = {
	NULL,
	NULL,
	NULL,
	NULL,
	&org_kde_kwin_contrast_interface,
	&wl_surface_interface,
	&wl_surface_interface,
	&wl_region_interface,
};

static const struct wl_message org_kde_kwin_contrast_manager_requests[] = {
	{ "create", "no", contrast_types + 4 },
	{ "unset", "o", contrast_types + 6 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_contrast_manager_interface = {
	"org_kde_kwin_contrast_manager", 2,
	2, org_kde_kwin_contrast_manager_requests,
	0, NULL,
};

static const struct wl_message org_kde_kwin_contrast_requests[] = {
	{ "commit", "", contrast_types + 0 },
	{ "set_region", "?o", contrast_types + 7 },
	{ "set_contrast", "f", contrast_types + 0 },
	{ "set_intensity", "f", contrast_types + 0 },
	{ "set_saturation", "f", contrast_types + 0 },
	{ "release", "", contrast_types + 0 },
	{ "set_frost", "2iiii", contrast_types + 0 },
	{ "unset_frost", "2", contrast_types + 0 },
};

WL_EXPORT const struct wl_interface org_kde_kwin_contrast_interface = {
	"org_kde_kwin_contrast", 2,
	8, org_kde_kwin_contrast_requests,
	0, NULL,
};

