/* Generated by wayland-scanner 1.24.0 */

#ifndef STRUT_SERVER_PROTOCOL_H
#define STRUT_SERVER_PROTOCOL_H

#include <stdint.h>
#include <stddef.h>
#include "wayland-server.h"

#ifdef  __cplusplus
extern "C" {
#endif

struct wl_client;
struct wl_resource;

/**
 * @page page_strut The strut protocol
 * @section page_ifaces_strut Interfaces
 * - @subpage page_iface_com_deepin_kwin_strut - 
 * @section page_copyright_strut Copyright
 * <pre>
 *
 * Copyright (C) 2020 Zhang Liang
 *
 * 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/>.
 * </pre>
 */
struct com_deepin_kwin_strut;
struct wl_surface;

#ifndef COM_DEEPIN_KWIN_STRUT_INTERFACE
#define COM_DEEPIN_KWIN_STRUT_INTERFACE
/**
 * @page page_iface_com_deepin_kwin_strut com_deepin_kwin_strut
 * @section page_iface_com_deepin_kwin_strut_api API
 * See @ref iface_com_deepin_kwin_strut.
 */
/**
 * @defgroup iface_com_deepin_kwin_strut The com_deepin_kwin_strut interface
 */
extern const struct wl_interface com_deepin_kwin_strut_interface;
#endif

/**
 * @ingroup iface_com_deepin_kwin_strut
 * @struct com_deepin_kwin_strut_interface
 */
struct com_deepin_kwin_strut_interface {
	/**
	 */
	void (*set_strut_partial)(struct wl_client *client,
				  struct wl_resource *resource,
				  struct wl_resource *surface,
				  int32_t left,
				  int32_t right,
				  int32_t top,
				  int32_t bottom,
				  int32_t left_start_y,
				  int32_t left_end_y,
				  int32_t right_start_y,
				  int32_t right_end_y,
				  int32_t top_start_x,
				  int32_t top_end_x,
				  int32_t bottom_start_x,
				  int32_t bottom_end_x);
};


/**
 * @ingroup iface_com_deepin_kwin_strut
 */
#define COM_DEEPIN_KWIN_STRUT_SET_STRUT_PARTIAL_SINCE_VERSION 1

#ifdef  __cplusplus
}
#endif

#endif
