chromium/out/Default/gen/components/exo/wayland/protocol/overlay-prioritizer-server-protocol.h

/* Generated by wayland-scanner 1.23.0 */

#ifndef OVERLAY_PRIORITIZER_SERVER_PROTOCOL_H
#define OVERLAY_PRIORITIZER_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_overlay_prioritizer The overlay_prioritizer protocol
 * @section page_ifaces_overlay_prioritizer Interfaces
 * - @subpage page_iface_overlay_prioritizer - overlay hint prioritization
 * - @subpage page_iface_overlay_prioritized_surface - delegate overlay prioritization hint of a wl_surface
 * @section page_copyright_overlay_prioritizer Copyright
 * <pre>
 *
 * Copyright 2021 The Chromium Authors
 *
 * 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 (including the next
 * paragraph) 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.
 * </pre>
 */
struct overlay_prioritized_surface;
struct overlay_prioritizer;
struct wl_surface;

#ifndef OVERLAY_PRIORITIZER_INTERFACE
#define OVERLAY_PRIORITIZER_INTERFACE
/**
 * @page page_iface_overlay_prioritizer overlay_prioritizer
 * @section page_iface_overlay_prioritizer_desc Description
 *
 * The global interface exposing overlay delegated prioritization
 * hint capabilities is used to instantiate an interface extension for a
 * wl_surface object. This extended interface will then allow
 * delegated overlay prioritization of the surface.
 * @section page_iface_overlay_prioritizer_api API
 * See @ref iface_overlay_prioritizer.
 */
/**
 * @defgroup iface_overlay_prioritizer The overlay_prioritizer interface
 *
 * The global interface exposing overlay delegated prioritization
 * hint capabilities is used to instantiate an interface extension for a
 * wl_surface object. This extended interface will then allow
 * delegated overlay prioritization of the surface.
 */
extern const struct wl_interface overlay_prioritizer_interface;
#endif
#ifndef OVERLAY_PRIORITIZED_SURFACE_INTERFACE
#define OVERLAY_PRIORITIZED_SURFACE_INTERFACE
/**
 * @page page_iface_overlay_prioritized_surface overlay_prioritized_surface
 * @section page_iface_overlay_prioritized_surface_desc Description
 *
 * An additional interface to a wl_surface object, which allows the
 * client to specify hints for the overlay prioritization of the surface.
 * @section page_iface_overlay_prioritized_surface_api API
 * See @ref iface_overlay_prioritized_surface.
 */
/**
 * @defgroup iface_overlay_prioritized_surface The overlay_prioritized_surface interface
 *
 * An additional interface to a wl_surface object, which allows the
 * client to specify hints for the overlay prioritization of the surface.
 */
extern const struct wl_interface overlay_prioritized_surface_interface;
#endif

#ifndef OVERLAY_PRIORITIZER_ERROR_ENUM
#define OVERLAY_PRIORITIZER_ERROR_ENUM
enum overlay_prioritizer_error {};
/**
 * @ingroup iface_overlay_prioritizer
 * Validate a overlay_prioritizer error value.
 *
 * @return true on success, false on error.
 * @ref overlay_prioritizer_error
 */
static inline bool
overlay_prioritizer_error_is_valid(uint32_t value, uint32_t version) {}
#endif /* OVERLAY_PRIORITIZER_ERROR_ENUM */

/**
 * @ingroup iface_overlay_prioritizer
 * @struct overlay_prioritizer_interface
 */
struct overlay_prioritizer_interface {};


/**
 * @ingroup iface_overlay_prioritizer
 */
#define OVERLAY_PRIORITIZER_DESTROY_SINCE_VERSION
/**
 * @ingroup iface_overlay_prioritizer
 */
#define OVERLAY_PRIORITIZER_GET_OVERLAY_PRIORITIZED_SURFACE_SINCE_VERSION

#ifndef OVERLAY_PRIORITIZED_SURFACE_ERROR_ENUM
#define OVERLAY_PRIORITIZED_SURFACE_ERROR_ENUM
enum overlay_prioritized_surface_error {};
/**
 * @ingroup iface_overlay_prioritized_surface
 * Validate a overlay_prioritized_surface error value.
 *
 * @return true on success, false on error.
 * @ref overlay_prioritized_surface_error
 */
static inline bool
overlay_prioritized_surface_error_is_valid(uint32_t value, uint32_t version) {}
#endif /* OVERLAY_PRIORITIZED_SURFACE_ERROR_ENUM */

#ifndef OVERLAY_PRIORITIZED_SURFACE_OVERLAY_PRIORITY_ENUM
#define OVERLAY_PRIORITIZED_SURFACE_OVERLAY_PRIORITY_ENUM
/**
 * @ingroup iface_overlay_prioritized_surface
 * hints for overlay prioritization
 *
 */
enum overlay_prioritized_surface_overlay_priority {};
/**
 * @ingroup iface_overlay_prioritized_surface
 * Validate a overlay_prioritized_surface overlay_priority value.
 *
 * @return true on success, false on error.
 * @ref overlay_prioritized_surface_overlay_priority
 */
static inline bool
overlay_prioritized_surface_overlay_priority_is_valid(uint32_t value, uint32_t version) {}
#endif /* OVERLAY_PRIORITIZED_SURFACE_OVERLAY_PRIORITY_ENUM */

/**
 * @ingroup iface_overlay_prioritized_surface
 * @struct overlay_prioritized_surface_interface
 */
struct overlay_prioritized_surface_interface {};


/**
 * @ingroup iface_overlay_prioritized_surface
 */
#define OVERLAY_PRIORITIZED_SURFACE_DESTROY_SINCE_VERSION
/**
 * @ingroup iface_overlay_prioritized_surface
 */
#define OVERLAY_PRIORITIZED_SURFACE_SET_OVERLAY_PRIORITY_SINCE_VERSION

#ifdef  __cplusplus
}
#endif

#endif