chromium/out/Default/gen/components/exo/wayland/protocol/aura-output-management-client-protocol.h

/* Generated by wayland-scanner 1.23.0 */

#ifndef AURA_OUTPUT_MANAGEMENT_CLIENT_PROTOCOL_H
#define AURA_OUTPUT_MANAGEMENT_CLIENT_PROTOCOL_H

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

#ifdef  __cplusplus
extern "C" {
#endif

/**
 * @page page_aura_output_management The aura_output_management protocol
 * @section page_ifaces_aura_output_management Interfaces
 * - @subpage page_iface_zaura_output_manager_v2 - aura output manager singleton
 * @section page_copyright_aura_output_management Copyright
 * <pre>
 *
 * Copyright 2024 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 zaura_output_manager_v2;

#ifndef ZAURA_OUTPUT_MANAGER_V2_INTERFACE
#define ZAURA_OUTPUT_MANAGER_V2_INTERFACE
/**
 * @page page_iface_zaura_output_manager_v2 zaura_output_manager_v2
 * @section page_iface_zaura_output_manager_v2_desc Description
 *
 * A global responsible for propagating atomic output configuration changes
 * to clients. An output configuration is a union of added / removed outputs
 * and updated output metrics.
 *
 * Added outputs arrive at the client as wl_registry.global events, removed
 * outputs as wl_registry.global_remove events and updated output metrics as
 * a sequence of events defined on the zaura_output_manager_v2 interface.
 * This is followed by the manager's done event which signals the end of the
 * transaction.
 *
 * The change should be processed by clients in a way that transitions from
 * one output configuration state to another without exposing the
 * intermediate output state to the rest of the application.
 *
 * Participating servers should emit the zaura_output_manager_v2 global
 * before any wl_output globals in the sequence of wl_registry.global events.
 *
 * Participating clients should bind the zaura_output_manager_v2 before any
 * wl_output globals. This ordering is required to ensure clients receive all
 * necessary output configuration information before receiving any further
 * server events that may reference bound wl_outputs.
 *
 * Clients can expect that all events comprising a configuration change are
 * sent synchronously, one after the other, before any other server events
 * that leverage the output as an event param.
 * @section page_iface_zaura_output_manager_v2_api API
 * See @ref iface_zaura_output_manager_v2.
 */
/**
 * @defgroup iface_zaura_output_manager_v2 The zaura_output_manager_v2 interface
 *
 * A global responsible for propagating atomic output configuration changes
 * to clients. An output configuration is a union of added / removed outputs
 * and updated output metrics.
 *
 * Added outputs arrive at the client as wl_registry.global events, removed
 * outputs as wl_registry.global_remove events and updated output metrics as
 * a sequence of events defined on the zaura_output_manager_v2 interface.
 * This is followed by the manager's done event which signals the end of the
 * transaction.
 *
 * The change should be processed by clients in a way that transitions from
 * one output configuration state to another without exposing the
 * intermediate output state to the rest of the application.
 *
 * Participating servers should emit the zaura_output_manager_v2 global
 * before any wl_output globals in the sequence of wl_registry.global events.
 *
 * Participating clients should bind the zaura_output_manager_v2 before any
 * wl_output globals. This ordering is required to ensure clients receive all
 * necessary output configuration information before receiving any further
 * server events that may reference bound wl_outputs.
 *
 * Clients can expect that all events comprising a configuration change are
 * sent synchronously, one after the other, before any other server events
 * that leverage the output as an event param.
 */
extern const struct wl_interface zaura_output_manager_v2_interface;
#endif

/**
 * @ingroup iface_zaura_output_manager_v2
 * @struct zaura_output_manager_v2_listener
 */
struct zaura_output_manager_v2_listener {};

/**
 * @ingroup iface_zaura_output_manager_v2
 */
static inline int
zaura_output_manager_v2_add_listener(struct zaura_output_manager_v2 *zaura_output_manager_v2,
				     const struct zaura_output_manager_v2_listener *listener, void *data)
{}

/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_DONE_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_DISPLAY_ID_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_LOGICAL_POSITION_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_LOGICAL_SIZE_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_PHYSICAL_SIZE_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_WORK_AREA_INSETS_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_DEVICE_SCALE_FACTOR_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_LOGICAL_TRANSFORM_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_PANEL_TRANSFORM_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_NAME_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_DESCRIPTION_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_OVERSCAN_INSETS_SINCE_VERSION
/**
 * @ingroup iface_zaura_output_manager_v2
 */
#define ZAURA_OUTPUT_MANAGER_V2_ACTIVATED_SINCE_VERSION


/** @ingroup iface_zaura_output_manager_v2 */
static inline void
zaura_output_manager_v2_set_user_data(struct zaura_output_manager_v2 *zaura_output_manager_v2, void *user_data)
{}

/** @ingroup iface_zaura_output_manager_v2 */
static inline void *
zaura_output_manager_v2_get_user_data(struct zaura_output_manager_v2 *zaura_output_manager_v2)
{}

static inline uint32_t
zaura_output_manager_v2_get_version(struct zaura_output_manager_v2 *zaura_output_manager_v2)
{}

/** @ingroup iface_zaura_output_manager_v2 */
static inline void
zaura_output_manager_v2_destroy(struct zaura_output_manager_v2 *zaura_output_manager_v2)
{}

#ifdef  __cplusplus
}
#endif

#endif