/* Generated by wayland-scanner 1.24.0 */

/*
 * Copyright (c) 2018 Iliya Bozhinov
 *
 * Permission is hereby granted, free of charge, to any person 
 * obtaining a copy of this software and associated documentation 
 * files (the "Software"), to deal in the Software without 
 * restriction, including without limitation the rights to use, copy, 
 * modify, merge, publish, distribute, sublicense, and/or sell copies 
 * of the Software, and to permit persons to whom the Software is 
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be 
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
 * SOFTWARE.
 */

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

extern const struct wl_interface wl_output_interface;
extern const struct wl_interface wl_surface_interface;
extern const struct wl_interface zwf_hotspot_v2_interface;
extern const struct wl_interface zwf_output_v2_interface;
extern const struct wl_interface zwf_surface_v2_interface;

static const struct wl_interface *wayfire_shell_unstable_v2_types[] = {
	&wl_output_interface,
	&zwf_output_v2_interface,
	&wl_surface_interface,
	&zwf_surface_v2_interface,
	NULL,
	NULL,
	NULL,
	&zwf_hotspot_v2_interface,
};

static const struct wl_message zwf_shell_manager_v2_requests[] = {
	{ "get_wf_output", "on", wayfire_shell_unstable_v2_types + 0 },
	{ "get_wf_surface", "on", wayfire_shell_unstable_v2_types + 2 },
};

WL_EXPORT const struct wl_interface zwf_shell_manager_v2_interface = {
	"zwf_shell_manager_v2", 2,
	2, zwf_shell_manager_v2_requests,
	0, NULL,
};

static const struct wl_message zwf_output_v2_requests[] = {
	{ "inhibit_output", "", wayfire_shell_unstable_v2_types + 0 },
	{ "inhibit_output_done", "", wayfire_shell_unstable_v2_types + 0 },
	{ "create_hotspot", "uuun", wayfire_shell_unstable_v2_types + 4 },
};

static const struct wl_message zwf_output_v2_events[] = {
	{ "enter_fullscreen", "", wayfire_shell_unstable_v2_types + 0 },
	{ "leave_fullscreen", "", wayfire_shell_unstable_v2_types + 0 },
	{ "toggle_menu", "2", wayfire_shell_unstable_v2_types + 0 },
};

WL_EXPORT const struct wl_interface zwf_output_v2_interface = {
	"zwf_output_v2", 2,
	3, zwf_output_v2_requests,
	3, zwf_output_v2_events,
};

static const struct wl_message zwf_hotspot_v2_events[] = {
	{ "enter", "", wayfire_shell_unstable_v2_types + 0 },
	{ "leave", "", wayfire_shell_unstable_v2_types + 0 },
};

WL_EXPORT const struct wl_interface zwf_hotspot_v2_interface = {
	"zwf_hotspot_v2", 1,
	0, NULL,
	2, zwf_hotspot_v2_events,
};

static const struct wl_message zwf_surface_v2_requests[] = {
	{ "interactive_move", "", wayfire_shell_unstable_v2_types + 0 },
};

WL_EXPORT const struct wl_interface zwf_surface_v2_interface = {
	"zwf_surface_v2", 1,
	1, zwf_surface_v2_requests,
	0, NULL,
};

