/* Generated by wayland-scanner 1.24.0 */

/*
 * SPDX-FileCopyrightText: 2008-2011 Kristian Høgsberg
 * SPDX-FileCopyrightText: 2010-2011 Intel Corporation
 * SPDX-FileCopyrightText: 2012-2013 Collabora, Ltd.
 * SPDX-FileCopyrightText: 2015 Sebastian Kügler <sebas@kde.org>
 * SPDX-FileCopyrightText: 2021 Méven Car <meven.car@enioka.com>
 *
 * SPDX-License-Identifier: MIT-CMU
 */

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

extern const struct wl_interface kde_output_configuration_v2_interface;
extern const struct wl_interface kde_output_device_mode_v2_interface;
extern const struct wl_interface kde_output_device_v2_interface;

static const struct wl_interface *kde_output_management_v2_types[] = {
	&kde_output_configuration_v2_interface,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	&kde_output_device_mode_v2_interface,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
	NULL,
	NULL,
	&kde_output_device_v2_interface,
	NULL,
};

static const struct wl_message kde_output_management_v2_requests[] = {
	{ "create_configuration", "n", kde_output_management_v2_types + 0 },
};

WL_EXPORT const struct wl_interface kde_output_management_v2_interface = {
	"kde_output_management_v2", 3,
	1, kde_output_management_v2_requests,
	0, NULL,
};

static const struct wl_message kde_output_configuration_v2_requests[] = {
	{ "enable", "oi", kde_output_management_v2_types + 1 },
	{ "mode", "oo", kde_output_management_v2_types + 3 },
	{ "transform", "oi", kde_output_management_v2_types + 5 },
	{ "position", "oii", kde_output_management_v2_types + 7 },
	{ "scale", "of", kde_output_management_v2_types + 10 },
	{ "apply", "", kde_output_management_v2_types + 0 },
	{ "destroy", "", kde_output_management_v2_types + 0 },
	{ "overscan", "ou", kde_output_management_v2_types + 12 },
	{ "set_vrr_policy", "ou", kde_output_management_v2_types + 14 },
	{ "set_rgb_range", "ou", kde_output_management_v2_types + 16 },
	{ "set_primary_output", "2o", kde_output_management_v2_types + 18 },
	{ "set_priority", "3ou", kde_output_management_v2_types + 19 },
	{ "brightness", "oi", kde_output_management_v2_types + 21 },
	{ "ctm", "oiii", kde_output_management_v2_types + 23 },
	{ "set_color_mode", "ou", kde_output_management_v2_types + 27 },
};

static const struct wl_message kde_output_configuration_v2_events[] = {
	{ "applied", "", kde_output_management_v2_types + 0 },
	{ "failed", "", kde_output_management_v2_types + 0 },
};

WL_EXPORT const struct wl_interface kde_output_configuration_v2_interface = {
	"kde_output_configuration_v2", 3,
	15, kde_output_configuration_v2_requests,
	2, kde_output_configuration_v2_events,
};

