/* Generated by wayland-scanner 1.23.0 */ #ifndef AURA_SHELL_SERVER_PROTOCOL_H #define AURA_SHELL_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_aura_shell The aura_shell protocol * @section page_ifaces_aura_shell Interfaces * - @subpage page_iface_zaura_shell - aura_shell * - @subpage page_iface_zaura_surface - aura shell interface to a wl_surface * - @subpage page_iface_zaura_output - aura shell interface to a wl_output * - @subpage page_iface_zaura_toplevel - aura shell interface to the toplevel shell * - @subpage page_iface_zaura_popup - aura shell interface to the popup shell * - @subpage page_iface_zaura_output_manager - aura shell interface to the output manager * @section page_copyright_aura_shell Copyright * <pre> * * Copyright 2017 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 wl_output; struct wl_region; struct wl_surface; struct xdg_popup; struct xdg_toplevel; struct zaura_output; struct zaura_output_manager; struct zaura_popup; struct zaura_shell; struct zaura_surface; struct zaura_toplevel; #ifndef ZAURA_SHELL_INTERFACE #define ZAURA_SHELL_INTERFACE /** * @page page_iface_zaura_shell zaura_shell * @section page_iface_zaura_shell_desc Description * * The global interface exposing aura shell capabilities is used to * instantiate an interface extension for a wl_surface object. * This extended interface will then allow the client to use aura shell * specific functionality. * @section page_iface_zaura_shell_api API * See @ref iface_zaura_shell. */ /** * @defgroup iface_zaura_shell The zaura_shell interface * * The global interface exposing aura shell capabilities is used to * instantiate an interface extension for a wl_surface object. * This extended interface will then allow the client to use aura shell * specific functionality. */ extern const struct wl_interface zaura_shell_interface; #endif #ifndef ZAURA_SURFACE_INTERFACE #define ZAURA_SURFACE_INTERFACE /** * @page page_iface_zaura_surface zaura_surface * @section page_iface_zaura_surface_desc Description * * An additional interface to a wl_surface object, which allows the * client to access aura shell specific functionality for surface. * @section page_iface_zaura_surface_api API * See @ref iface_zaura_surface. */ /** * @defgroup iface_zaura_surface The zaura_surface interface * * An additional interface to a wl_surface object, which allows the * client to access aura shell specific functionality for surface. */ extern const struct wl_interface zaura_surface_interface; #endif #ifndef ZAURA_OUTPUT_INTERFACE #define ZAURA_OUTPUT_INTERFACE /** * @page page_iface_zaura_output zaura_output * @section page_iface_zaura_output_desc Description * * An additional interface to a wl_output object, which allows the * client to access aura shell specific functionality for output. * @section page_iface_zaura_output_api API * See @ref iface_zaura_output. */ /** * @defgroup iface_zaura_output The zaura_output interface * * An additional interface to a wl_output object, which allows the * client to access aura shell specific functionality for output. */ extern const struct wl_interface zaura_output_interface; #endif #ifndef ZAURA_TOPLEVEL_INTERFACE #define ZAURA_TOPLEVEL_INTERFACE /** * @page page_iface_zaura_toplevel zaura_toplevel * @section page_iface_zaura_toplevel_desc Description * * An interface to the toplevel shell, which allows the * client to access shell specific functionality. * @section page_iface_zaura_toplevel_api API * See @ref iface_zaura_toplevel. */ /** * @defgroup iface_zaura_toplevel The zaura_toplevel interface * * An interface to the toplevel shell, which allows the * client to access shell specific functionality. */ extern const struct wl_interface zaura_toplevel_interface; #endif #ifndef ZAURA_POPUP_INTERFACE #define ZAURA_POPUP_INTERFACE /** * @page page_iface_zaura_popup zaura_popup * @section page_iface_zaura_popup_desc Description * * An interface to the popup shell, which allows the * client to access shell specific functionality. * @section page_iface_zaura_popup_api API * See @ref iface_zaura_popup. */ /** * @defgroup iface_zaura_popup The zaura_popup interface * * An interface to the popup shell, which allows the * client to access shell specific functionality. */ extern const struct wl_interface zaura_popup_interface; #endif #ifndef ZAURA_OUTPUT_MANAGER_INTERFACE #define ZAURA_OUTPUT_MANAGER_INTERFACE /** * @page page_iface_zaura_output_manager zaura_output_manager * @section page_iface_zaura_output_manager_desc Description * * [Deprecated] Deprecated since M122. See the zaura_output_manager_v2 * interface. * * A global responsible for ensuring clients have a complete view of a given * output's state immediately following the bind of wl_output, and * subsequently as needed. * * Clients can expect that all the manager's events for a given wl_output * arrive before the associated wl_output.done event. Clients must bind to * the manager global before any output globals. * @section page_iface_zaura_output_manager_api API * See @ref iface_zaura_output_manager. */ /** * @defgroup iface_zaura_output_manager The zaura_output_manager interface * * [Deprecated] Deprecated since M122. See the zaura_output_manager_v2 * interface. * * A global responsible for ensuring clients have a complete view of a given * output's state immediately following the bind of wl_output, and * subsequently as needed. * * Clients can expect that all the manager's events for a given wl_output * arrive before the associated wl_output.done event. Clients must bind to * the manager global before any output globals. */ extern const struct wl_interface zaura_output_manager_interface; #endif #ifndef ZAURA_SHELL_ERROR_ENUM #define ZAURA_SHELL_ERROR_ENUM enum zaura_shell_error { … }; /** * @ingroup iface_zaura_shell * Validate a zaura_shell error value. * * @return true on success, false on error. * @ref zaura_shell_error */ static inline bool zaura_shell_error_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SHELL_ERROR_ENUM */ #ifndef ZAURA_SHELL_LAYOUT_MODE_ENUM #define ZAURA_SHELL_LAYOUT_MODE_ENUM /** * @ingroup iface_zaura_shell * the layout mode * * Specifies the server's window layout mode. */ enum zaura_shell_layout_mode { … }; /** * @ingroup iface_zaura_shell * Validate a zaura_shell layout_mode value. * * @return true on success, false on error. * @ref zaura_shell_layout_mode */ static inline bool zaura_shell_layout_mode_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SHELL_LAYOUT_MODE_ENUM */ /** * @ingroup iface_zaura_shell * @struct zaura_shell_interface */ struct zaura_shell_interface { … }; #define ZAURA_SHELL_LAYOUT_MODE … #define ZAURA_SHELL_BUG_FIX … #define ZAURA_SHELL_DESKS_CHANGED … #define ZAURA_SHELL_DESK_ACTIVATION_CHANGED … #define ZAURA_SHELL_ACTIVATED … #define ZAURA_SHELL_SET_OVERVIEW_MODE … #define ZAURA_SHELL_UNSET_OVERVIEW_MODE … #define ZAURA_SHELL_COMPOSITOR_VERSION … #define ZAURA_SHELL_ALL_BUG_FIXES_SENT … #define ZAURA_SHELL_WINDOW_CORNERS_RADII … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_LAYOUT_MODE_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_BUG_FIX_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_DESKS_CHANGED_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_DESK_ACTIVATION_CHANGED_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_ACTIVATED_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_SET_OVERVIEW_MODE_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_UNSET_OVERVIEW_MODE_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_COMPOSITOR_VERSION_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_ALL_BUG_FIXES_SENT_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_WINDOW_CORNERS_RADII_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_GET_AURA_SURFACE_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_GET_AURA_OUTPUT_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_SURFACE_SUBMISSION_IN_PIXEL_COORDINATES_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_GET_AURA_TOPLEVEL_FOR_XDG_TOPLEVEL_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_GET_AURA_POPUP_FOR_XDG_POPUP_SINCE_VERSION … /** * @ingroup iface_zaura_shell */ #define ZAURA_SHELL_RELEASE_SINCE_VERSION … /** * @ingroup iface_zaura_shell * Sends an layout_mode event to the client owning the resource. * @param resource_ The client's resource * @param layout_mode layout_mode enum */ static inline void zaura_shell_send_layout_mode(struct wl_resource *resource_, uint32_t layout_mode) { … } /** * @ingroup iface_zaura_shell * Sends an bug_fix event to the client owning the resource. * @param resource_ The client's resource * @param id ID of a single bug fix */ static inline void zaura_shell_send_bug_fix(struct wl_resource *resource_, uint32_t id) { … } /** * @ingroup iface_zaura_shell * Sends an desks_changed event to the client owning the resource. * @param resource_ The client's resource * @param desk_names an array of existing desks' names */ static inline void zaura_shell_send_desks_changed(struct wl_resource *resource_, struct wl_array *desk_names) { … } /** * @ingroup iface_zaura_shell * Sends an desk_activation_changed event to the client owning the resource. * @param resource_ The client's resource * @param active_desk_index index of the active desk */ static inline void zaura_shell_send_desk_activation_changed(struct wl_resource *resource_, int32_t active_desk_index) { … } /** * @ingroup iface_zaura_shell * Sends an activated event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_shell_send_activated(struct wl_resource *resource_, struct wl_resource *gained_active, struct wl_resource *lost_active) { … } /** * @ingroup iface_zaura_shell * Sends an set_overview_mode event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_shell_send_set_overview_mode(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_shell * Sends an unset_overview_mode event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_shell_send_unset_overview_mode(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_shell * Sends an compositor_version event to the client owning the resource. * @param resource_ The client's resource * @param version_label version string label */ static inline void zaura_shell_send_compositor_version(struct wl_resource *resource_, const char *version_label) { … } /** * @ingroup iface_zaura_shell * Sends an all_bug_fixes_sent event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_shell_send_all_bug_fixes_sent(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_shell * Sends an window_corners_radii event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_shell_send_window_corners_radii(struct wl_resource *resource_, uint32_t upper_left_radius, uint32_t upper_right_radius, uint32_t lower_right_radius, uint32_t lower_left_radius) { … } #ifndef ZAURA_SURFACE_FRAME_TYPE_ENUM #define ZAURA_SURFACE_FRAME_TYPE_ENUM /** * @ingroup iface_zaura_surface * different frame types * * Frame types that can be used to decorate a surface. */ enum zaura_surface_frame_type { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface frame_type value. * * @return true on success, false on error. * @ref zaura_surface_frame_type */ static inline bool zaura_surface_frame_type_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_FRAME_TYPE_ENUM */ #ifndef ZAURA_SURFACE_OCCLUSION_CHANGE_REASON_ENUM #define ZAURA_SURFACE_OCCLUSION_CHANGE_REASON_ENUM /** * @ingroup iface_zaura_surface * occlusion change reason * * Enum describing why an occlusion change happened. An occlusion change as a * result of a user action could include things like the user moving a window, * changing occlusion, or opening/closing a window, changing the occlusion. */ enum zaura_surface_occlusion_change_reason { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface occlusion_change_reason value. * * @return true on success, false on error. * @ref zaura_surface_occlusion_change_reason */ static inline bool zaura_surface_occlusion_change_reason_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_OCCLUSION_CHANGE_REASON_ENUM */ #ifndef ZAURA_SURFACE_FULLSCREEN_MODE_ENUM #define ZAURA_SURFACE_FULLSCREEN_MODE_ENUM /** * @ingroup iface_zaura_surface * Specifies the behavior of the surface in fullscreen. * * [Deprecated] Possible windowing system behaviors if this surface were to go * fullscreen. */ enum zaura_surface_fullscreen_mode { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface fullscreen_mode value. * * @return true on success, false on error. * @ref zaura_surface_fullscreen_mode */ static inline bool zaura_surface_fullscreen_mode_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_FULLSCREEN_MODE_ENUM */ #ifndef ZAURA_SURFACE_SNAP_DIRECTION_ENUM #define ZAURA_SURFACE_SNAP_DIRECTION_ENUM /** * @ingroup iface_zaura_surface * surface snap directions * * Surface snap directions. */ enum zaura_surface_snap_direction { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface snap_direction value. * * @return true on success, false on error. * @ref zaura_surface_snap_direction */ static inline bool zaura_surface_snap_direction_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_SNAP_DIRECTION_ENUM */ #ifndef ZAURA_SURFACE_OCCLUSION_STATE_ENUM #define ZAURA_SURFACE_OCCLUSION_STATE_ENUM /** * @ingroup iface_zaura_surface * surface occlusion state * * Describes the occlusion state of a surface. */ enum zaura_surface_occlusion_state { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface occlusion_state value. * * @return true on success, false on error. * @ref zaura_surface_occlusion_state */ static inline bool zaura_surface_occlusion_state_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_OCCLUSION_STATE_ENUM */ #ifndef ZAURA_SURFACE_TOOLTIP_TRIGGER_ENUM #define ZAURA_SURFACE_TOOLTIP_TRIGGER_ENUM /** * @ingroup iface_zaura_surface * type of tooltip trigger * * Describes what triggered tooltip */ enum zaura_surface_tooltip_trigger { … }; /** * @ingroup iface_zaura_surface * Validate a zaura_surface tooltip_trigger value. * * @return true on success, false on error. * @ref zaura_surface_tooltip_trigger */ static inline bool zaura_surface_tooltip_trigger_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_SURFACE_TOOLTIP_TRIGGER_ENUM */ /** * @ingroup iface_zaura_surface * @struct zaura_surface_interface */ struct zaura_surface_interface { … }; #define ZAURA_SURFACE_OCCLUSION_CHANGED … #define ZAURA_SURFACE_LOCK_FRAME_NORMAL … #define ZAURA_SURFACE_UNLOCK_FRAME_NORMAL … #define ZAURA_SURFACE_OCCLUSION_STATE_CHANGED … #define ZAURA_SURFACE_DESK_CHANGED … #define ZAURA_SURFACE_START_THROTTLE … #define ZAURA_SURFACE_END_THROTTLE … #define ZAURA_SURFACE_TOOLTIP_SHOWN … #define ZAURA_SURFACE_TOOLTIP_HIDDEN … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_OCCLUSION_CHANGED_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_LOCK_FRAME_NORMAL_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNLOCK_FRAME_NORMAL_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_OCCLUSION_STATE_CHANGED_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_DESK_CHANGED_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_START_THROTTLE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_END_THROTTLE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_TOOLTIP_SHOWN_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_TOOLTIP_HIDDEN_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_FRAME_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_PARENT_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_FRAME_COLORS_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_STARTUP_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_APPLICATION_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_CLIENT_SURFACE_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_OCCLUSION_TRACKING_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNSET_OCCLUSION_TRACKING_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_ACTIVATE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_DRAW_ATTENTION_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_FULLSCREEN_MODE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_CLIENT_SURFACE_STR_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_SERVER_START_RESIZE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_INTENT_TO_SNAP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_SNAP_LEFT_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_SNAP_RIGHT_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNSET_SNAP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_WINDOW_SESSION_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_CAN_GO_BACK_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNSET_CAN_GO_BACK_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_PIP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNSET_PIP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_ASPECT_RATIO_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_MOVE_TO_DESK_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_INITIAL_WORKSPACE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_PIN_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_UNSET_PIN_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_RELEASE_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SHOW_TOOLTIP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_HIDE_TOOLTIP_SINCE_VERSION … /** * @ingroup iface_zaura_surface */ #define ZAURA_SURFACE_SET_ACCESSIBILITY_ID_SINCE_VERSION … /** * @ingroup iface_zaura_surface * Sends an occlusion_changed event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_occlusion_changed(struct wl_resource *resource_, wl_fixed_t occlusion_fraction, uint32_t occlusion_reason) { … } /** * @ingroup iface_zaura_surface * Sends an lock_frame_normal event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_lock_frame_normal(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_surface * Sends an unlock_frame_normal event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_unlock_frame_normal(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_surface * Sends an occlusion_state_changed event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_occlusion_state_changed(struct wl_resource *resource_, uint32_t mode) { … } /** * @ingroup iface_zaura_surface * Sends an desk_changed event to the client owning the resource. * @param resource_ The client's resource * @param state index of desk or -1 for a window assigned to all desks */ static inline void zaura_surface_send_desk_changed(struct wl_resource *resource_, int32_t state) { … } /** * @ingroup iface_zaura_surface * Sends an start_throttle event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_start_throttle(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_surface * Sends an end_throttle event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_end_throttle(struct wl_resource *resource_) { … } /** * @ingroup iface_zaura_surface * Sends an tooltip_shown event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_tooltip_shown(struct wl_resource *resource_, const char *text, int32_t x, int32_t y, int32_t width, int32_t height) { … } /** * @ingroup iface_zaura_surface * Sends an tooltip_hidden event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_surface_send_tooltip_hidden(struct wl_resource *resource_) { … } #ifndef ZAURA_OUTPUT_SCALE_PROPERTY_ENUM #define ZAURA_OUTPUT_SCALE_PROPERTY_ENUM /** * @ingroup iface_zaura_output * scale information * * These flags describe properties of an output scale. * They are used in the flags bitfield of the scale event. */ enum zaura_output_scale_property { … }; /** * @ingroup iface_zaura_output * Validate a zaura_output scale_property value. * * @return true on success, false on error. * @ref zaura_output_scale_property */ static inline bool zaura_output_scale_property_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_OUTPUT_SCALE_PROPERTY_ENUM */ #ifndef ZAURA_OUTPUT_SCALE_FACTOR_ENUM #define ZAURA_OUTPUT_SCALE_FACTOR_ENUM enum zaura_output_scale_factor { … }; /** * @ingroup iface_zaura_output * Validate a zaura_output scale_factor value. * * @return true on success, false on error. * @ref zaura_output_scale_factor */ static inline bool zaura_output_scale_factor_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_OUTPUT_SCALE_FACTOR_ENUM */ #ifndef ZAURA_OUTPUT_CONNECTION_TYPE_ENUM #define ZAURA_OUTPUT_CONNECTION_TYPE_ENUM enum zaura_output_connection_type { … }; /** * @ingroup iface_zaura_output * Validate a zaura_output connection_type value. * * @return true on success, false on error. * @ref zaura_output_connection_type */ static inline bool zaura_output_connection_type_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_OUTPUT_CONNECTION_TYPE_ENUM */ /** * @ingroup iface_zaura_output * @struct zaura_output_interface */ struct zaura_output_interface { … }; #define ZAURA_OUTPUT_SCALE … #define ZAURA_OUTPUT_CONNECTION … #define ZAURA_OUTPUT_DEVICE_SCALE_FACTOR … #define ZAURA_OUTPUT_INSETS … #define ZAURA_OUTPUT_LOGICAL_TRANSFORM … #define ZAURA_OUTPUT_DISPLAY_ID … #define ZAURA_OUTPUT_ACTIVATED … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_SCALE_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_CONNECTION_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_DEVICE_SCALE_FACTOR_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_INSETS_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_LOGICAL_TRANSFORM_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_DISPLAY_ID_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_ACTIVATED_SINCE_VERSION … /** * @ingroup iface_zaura_output */ #define ZAURA_OUTPUT_RELEASE_SINCE_VERSION … /** * @ingroup iface_zaura_output * Sends an scale event to the client owning the resource. * @param resource_ The client's resource * @param flags bitfield of scale flags * @param scale output scale */ static inline void zaura_output_send_scale(struct wl_resource *resource_, uint32_t flags, uint32_t scale) { … } /** * @ingroup iface_zaura_output * Sends an connection event to the client owning the resource. * @param resource_ The client's resource * @param connection output connection */ static inline void zaura_output_send_connection(struct wl_resource *resource_, uint32_t connection) { … } /** * @ingroup iface_zaura_output * Sends an device_scale_factor event to the client owning the resource. * @param resource_ The client's resource * @param scale output device scale factor */ static inline void zaura_output_send_device_scale_factor(struct wl_resource *resource_, uint32_t scale) { … } /** * @ingroup iface_zaura_output * Sends an insets event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_send_insets(struct wl_resource *resource_, int32_t top, int32_t left, int32_t bottom, int32_t right) { … } /** * @ingroup iface_zaura_output * Sends an logical_transform event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_send_logical_transform(struct wl_resource *resource_, int32_t transform) { … } /** * @ingroup iface_zaura_output * Sends an display_id event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_send_display_id(struct wl_resource *resource_, uint32_t display_id_hi, uint32_t display_id_lo) { … } /** * @ingroup iface_zaura_output * Sends an activated event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_send_activated(struct wl_resource *resource_) { … } #ifndef ZAURA_TOPLEVEL_ORIENTATION_LOCK_ENUM #define ZAURA_TOPLEVEL_ORIENTATION_LOCK_ENUM /** * @ingroup iface_zaura_toplevel * orientation lock request * * Defines orientation request when a surface is in fullscreen. */ enum zaura_toplevel_orientation_lock { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel orientation_lock value. * * @return true on success, false on error. * @ref zaura_toplevel_orientation_lock */ static inline bool zaura_toplevel_orientation_lock_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_ORIENTATION_LOCK_ENUM */ #ifndef ZAURA_TOPLEVEL_STATE_ENUM #define ZAURA_TOPLEVEL_STATE_ENUM /** * @ingroup iface_zaura_toplevel * supplemental aura states to xdg states * * The states that are contained here are supplemental to the states * defined in the XDG shell and specific aura windows. */ enum zaura_toplevel_state { … }; /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_IMMERSIVE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_MINIMIZED_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_SNAPPED_PRIMARY_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_SNAPPED_SECONDARY_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_FLOATED_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_PIP_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_PINNED_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_STATE_TRUSTED_PINNED_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel state value. * * @return true on success, false on error. * @ref zaura_toplevel_state */ static inline bool zaura_toplevel_state_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_STATE_ENUM */ #ifndef ZAURA_TOPLEVEL_DECORATION_TYPE_ENUM #define ZAURA_TOPLEVEL_DECORATION_TYPE_ENUM /** * @ingroup iface_zaura_toplevel * different decoration types * * Decoration types are used to modify the surface (e.g. drop shadow). */ enum zaura_toplevel_decoration_type { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel decoration_type value. * * @return true on success, false on error. * @ref zaura_toplevel_decoration_type */ static inline bool zaura_toplevel_decoration_type_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_DECORATION_TYPE_ENUM */ #ifndef ZAURA_TOPLEVEL_Z_ORDER_LEVEL_ENUM #define ZAURA_TOPLEVEL_Z_ORDER_LEVEL_ENUM /** * @ingroup iface_zaura_toplevel * z order levels for windows * * Different z order levels that are used to set the z order for a toplevel surface. */ enum zaura_toplevel_z_order_level { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel z_order_level value. * * @return true on success, false on error. * @ref zaura_toplevel_z_order_level */ static inline bool zaura_toplevel_z_order_level_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_Z_ORDER_LEVEL_ENUM */ #ifndef ZAURA_TOPLEVEL_FULLSCREEN_MODE_ENUM #define ZAURA_TOPLEVEL_FULLSCREEN_MODE_ENUM /** * @ingroup iface_zaura_toplevel * Specifies the behavior of the surface in fullscreen. * * Possible windowing system behaviors if this surface were to go * fullscreen. */ enum zaura_toplevel_fullscreen_mode { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel fullscreen_mode value. * * @return true on success, false on error. * @ref zaura_toplevel_fullscreen_mode */ static inline bool zaura_toplevel_fullscreen_mode_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_FULLSCREEN_MODE_ENUM */ #ifndef ZAURA_TOPLEVEL_SNAP_DIRECTION_ENUM #define ZAURA_TOPLEVEL_SNAP_DIRECTION_ENUM /** * @ingroup iface_zaura_toplevel * window snap directions * * Window snap directions. */ enum zaura_toplevel_snap_direction { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel snap_direction value. * * @return true on success, false on error. * @ref zaura_toplevel_snap_direction */ static inline bool zaura_toplevel_snap_direction_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_SNAP_DIRECTION_ENUM */ #ifndef ZAURA_TOPLEVEL_PERSISTABLE_ENUM #define ZAURA_TOPLEVEL_PERSISTABLE_ENUM /** * @ingroup iface_zaura_toplevel * Describes whether or not the value is persistable * * Binary enum maps to boolean, describes whether or not a value is * persistable. */ enum zaura_toplevel_persistable { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel persistable value. * * @return true on success, false on error. * @ref zaura_toplevel_persistable */ static inline bool zaura_toplevel_persistable_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_PERSISTABLE_ENUM */ #ifndef ZAURA_TOPLEVEL_ROTATE_DIRECTION_ENUM #define ZAURA_TOPLEVEL_ROTATE_DIRECTION_ENUM enum zaura_toplevel_rotate_direction { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel rotate_direction value. * * @return true on success, false on error. * @ref zaura_toplevel_rotate_direction */ static inline bool zaura_toplevel_rotate_direction_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_ROTATE_DIRECTION_ENUM */ #ifndef ZAURA_TOPLEVEL_ROTATE_RESTART_STATE_ENUM #define ZAURA_TOPLEVEL_ROTATE_RESTART_STATE_ENUM enum zaura_toplevel_rotate_restart_state { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel rotate_restart_state value. * * @return true on success, false on error. * @ref zaura_toplevel_rotate_restart_state */ static inline bool zaura_toplevel_rotate_restart_state_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_ROTATE_RESTART_STATE_ENUM */ #ifndef ZAURA_TOPLEVEL_ROTATE_HANDLED_STATE_ENUM #define ZAURA_TOPLEVEL_ROTATE_HANDLED_STATE_ENUM enum zaura_toplevel_rotate_handled_state { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel rotate_handled_state value. * * @return true on success, false on error. * @ref zaura_toplevel_rotate_handled_state */ static inline bool zaura_toplevel_rotate_handled_state_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_ROTATE_HANDLED_STATE_ENUM */ #ifndef ZAURA_TOPLEVEL_FLOAT_START_LOCATION_ENUM #define ZAURA_TOPLEVEL_FLOAT_START_LOCATION_ENUM /** * @ingroup iface_zaura_toplevel * Specifies the location of a surface that just got floated. * * Possible start locations if a surface gets floated. */ enum zaura_toplevel_float_start_location { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel float_start_location value. * * @return true on success, false on error. * @ref zaura_toplevel_float_start_location */ static inline bool zaura_toplevel_float_start_location_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_FLOAT_START_LOCATION_ENUM */ #ifndef ZAURA_TOPLEVEL_IN_OVERVIEW_ENUM #define ZAURA_TOPLEVEL_IN_OVERVIEW_ENUM /** * @ingroup iface_zaura_toplevel * Describes whether or not the value is in overview * * Binary enum maps to boolean, describes whether or not a value is in * overview. */ enum zaura_toplevel_in_overview { … }; /** * @ingroup iface_zaura_toplevel * Validate a zaura_toplevel in_overview value. * * @return true on success, false on error. * @ref zaura_toplevel_in_overview */ static inline bool zaura_toplevel_in_overview_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_TOPLEVEL_IN_OVERVIEW_ENUM */ /** * @ingroup iface_zaura_toplevel * @struct zaura_toplevel_interface */ struct zaura_toplevel_interface { … }; #define ZAURA_TOPLEVEL_CONFIGURE … #define ZAURA_TOPLEVEL_ORIGIN_CHANGE … #define ZAURA_TOPLEVEL_CONFIGURE_RASTER_SCALE … #define ZAURA_TOPLEVEL_ROTATE_FOCUS … #define ZAURA_TOPLEVEL_OVERVIEW_CHANGE … #define ZAURA_TOPLEVEL_CONFIGURE_OCCLUSION_STATE … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_CONFIGURE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_ORIGIN_CHANGE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_CONFIGURE_RASTER_SCALE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_ROTATE_FOCUS_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_OVERVIEW_CHANGE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_CONFIGURE_OCCLUSION_STATE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_ORIENTATION_LOCK_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SURFACE_SUBMISSION_IN_PIXEL_COORDINATES_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SUPPORTS_SCREEN_COORDINATES_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_WINDOW_BOUNDS_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_RESTORE_INFO_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SYSTEM_MODAL_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_UNSET_SYSTEM_MODAL_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_RESTORE_INFO_WITH_WINDOW_ID_SOURCE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_DECORATION_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_RELEASE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_FLOAT_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_UNSET_FLOAT_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_Z_ORDER_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_ORIGIN_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_ACTIVATE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_DEACTIVATE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_FULLSCREEN_MODE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SCALE_FACTOR_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SNAP_PRIMARY_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SNAP_SECONDARY_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_INTENT_TO_SNAP_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_UNSET_SNAP_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_PERSISTABLE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SHAPE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_TOP_INSET_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_ACK_ROTATE_FOCUS_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_CAN_MAXIMIZE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_UNSET_CAN_MAXIMIZE_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_CAN_FULLSCREEN_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_UNSET_CAN_FULLSCREEN_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_FLOAT_TO_LOCATION_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_WINDOW_CORNER_RADII_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel */ #define ZAURA_TOPLEVEL_SET_SHADOW_CORNER_RADII_SINCE_VERSION … /** * @ingroup iface_zaura_toplevel * Sends an configure event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_toplevel_send_configure(struct wl_resource *resource_, int32_t x, int32_t y, int32_t width, int32_t height, struct wl_array *states) { … } /** * @ingroup iface_zaura_toplevel * Sends an origin_change event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_toplevel_send_origin_change(struct wl_resource *resource_, int32_t x, int32_t y) { … } /** * @ingroup iface_zaura_toplevel * Sends an configure_raster_scale event to the client owning the resource. * @param resource_ The client's resource * @param scale Raster scale, in float format */ static inline void zaura_toplevel_send_configure_raster_scale(struct wl_resource *resource_, uint32_t scale) { … } /** * @ingroup iface_zaura_toplevel * Sends an rotate_focus event to the client owning the resource. * @param resource_ The client's resource * @param serial serial for the rotation event * @param direction the direction for linear traversal * @param restart whether or not to restart traversal */ static inline void zaura_toplevel_send_rotate_focus(struct wl_resource *resource_, uint32_t serial, uint32_t direction, uint32_t restart) { … } /** * @ingroup iface_zaura_toplevel * Sends an overview_change event to the client owning the resource. * @param resource_ The client's resource * @param in_overview in overview or not */ static inline void zaura_toplevel_send_overview_change(struct wl_resource *resource_, uint32_t in_overview) { … } /** * @ingroup iface_zaura_toplevel * Sends an configure_occlusion_state event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_toplevel_send_configure_occlusion_state(struct wl_resource *resource_, uint32_t mode) { … } #ifndef ZAURA_POPUP_DECORATION_TYPE_ENUM #define ZAURA_POPUP_DECORATION_TYPE_ENUM /** * @ingroup iface_zaura_popup * different decoration types * * Decoration types are used to modify the surface (e.g. drop shadow). */ enum zaura_popup_decoration_type { … }; /** * @ingroup iface_zaura_popup * Validate a zaura_popup decoration_type value. * * @return true on success, false on error. * @ref zaura_popup_decoration_type */ static inline bool zaura_popup_decoration_type_is_valid(uint32_t value, uint32_t version) { … } #endif /* ZAURA_POPUP_DECORATION_TYPE_ENUM */ /** * @ingroup iface_zaura_popup * @struct zaura_popup_interface */ struct zaura_popup_interface { … }; /** * @ingroup iface_zaura_popup */ #define ZAURA_POPUP_SURFACE_SUBMISSION_IN_PIXEL_COORDINATES_SINCE_VERSION … /** * @ingroup iface_zaura_popup */ #define ZAURA_POPUP_SET_DECORATION_SINCE_VERSION … /** * @ingroup iface_zaura_popup */ #define ZAURA_POPUP_SET_MENU_SINCE_VERSION … /** * @ingroup iface_zaura_popup */ #define ZAURA_POPUP_RELEASE_SINCE_VERSION … /** * @ingroup iface_zaura_popup */ #define ZAURA_POPUP_SET_SCALE_FACTOR_SINCE_VERSION … #define ZAURA_OUTPUT_MANAGER_DONE … #define ZAURA_OUTPUT_MANAGER_DISPLAY_ID … #define ZAURA_OUTPUT_MANAGER_LOGICAL_POSITION … #define ZAURA_OUTPUT_MANAGER_LOGICAL_SIZE … #define ZAURA_OUTPUT_MANAGER_PHYSICAL_SIZE … #define ZAURA_OUTPUT_MANAGER_INSETS … #define ZAURA_OUTPUT_MANAGER_DEVICE_SCALE_FACTOR … #define ZAURA_OUTPUT_MANAGER_LOGICAL_TRANSFORM … #define ZAURA_OUTPUT_MANAGER_PANEL_TRANSFORM … #define ZAURA_OUTPUT_MANAGER_NAME … #define ZAURA_OUTPUT_MANAGER_DESCRIPTION … #define ZAURA_OUTPUT_MANAGER_ACTIVATED … #define ZAURA_OUTPUT_MANAGER_OVERSCAN_INSETS … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_DONE_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_DISPLAY_ID_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_LOGICAL_POSITION_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_LOGICAL_SIZE_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_PHYSICAL_SIZE_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_INSETS_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_DEVICE_SCALE_FACTOR_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_LOGICAL_TRANSFORM_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_PANEL_TRANSFORM_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_NAME_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_DESCRIPTION_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_ACTIVATED_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager */ #define ZAURA_OUTPUT_MANAGER_OVERSCAN_INSETS_SINCE_VERSION … /** * @ingroup iface_zaura_output_manager * Sends an done event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_manager_send_done(struct wl_resource *resource_, struct wl_resource *output) { … } /** * @ingroup iface_zaura_output_manager * Sends an display_id event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_manager_send_display_id(struct wl_resource *resource_, struct wl_resource *output, uint32_t display_id_hi, uint32_t display_id_lo) { … } /** * @ingroup iface_zaura_output_manager * Sends an logical_position event to the client owning the resource. * @param resource_ The client's resource * @param x x position within the global compositor space * @param y y position within the global compositor space */ static inline void zaura_output_manager_send_logical_position(struct wl_resource *resource_, struct wl_resource *output, int32_t x, int32_t y) { … } /** * @ingroup iface_zaura_output_manager * Sends an logical_size event to the client owning the resource. * @param resource_ The client's resource * @param width width in global compositor space * @param height height in global compositor space */ static inline void zaura_output_manager_send_logical_size(struct wl_resource *resource_, struct wl_resource *output, int32_t width, int32_t height) { … } /** * @ingroup iface_zaura_output_manager * Sends an physical_size event to the client owning the resource. * @param resource_ The client's resource * @param width width in global compositor space * @param height height in global compositor space */ static inline void zaura_output_manager_send_physical_size(struct wl_resource *resource_, struct wl_resource *output, int32_t width, int32_t height) { … } /** * @ingroup iface_zaura_output_manager * Sends an insets event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_manager_send_insets(struct wl_resource *resource_, struct wl_resource *output, int32_t top, int32_t left, int32_t bottom, int32_t right) { … } /** * @ingroup iface_zaura_output_manager * Sends an device_scale_factor event to the client owning the resource. * @param resource_ The client's resource * @param device_scale_factor display scale factor, in float format */ static inline void zaura_output_manager_send_device_scale_factor(struct wl_resource *resource_, struct wl_resource *output, uint32_t device_scale_factor) { … } /** * @ingroup iface_zaura_output_manager * Sends an logical_transform event to the client owning the resource. * @param resource_ The client's resource * @param transform transform that maps framebuffer to output */ static inline void zaura_output_manager_send_logical_transform(struct wl_resource *resource_, struct wl_resource *output, int32_t transform) { … } /** * @ingroup iface_zaura_output_manager * Sends an panel_transform event to the client owning the resource. * @param resource_ The client's resource * @param transform transform that maps framebuffer to output */ static inline void zaura_output_manager_send_panel_transform(struct wl_resource *resource_, struct wl_resource *output, int32_t transform) { … } /** * @ingroup iface_zaura_output_manager * Sends an name event to the client owning the resource. * @param resource_ The client's resource * @param name output name */ static inline void zaura_output_manager_send_name(struct wl_resource *resource_, struct wl_resource *output, const char *name) { … } /** * @ingroup iface_zaura_output_manager * Sends an description event to the client owning the resource. * @param resource_ The client's resource * @param description output description */ static inline void zaura_output_manager_send_description(struct wl_resource *resource_, struct wl_resource *output, const char *description) { … } /** * @ingroup iface_zaura_output_manager * Sends an activated event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_manager_send_activated(struct wl_resource *resource_, struct wl_resource *output) { … } /** * @ingroup iface_zaura_output_manager * Sends an overscan_insets event to the client owning the resource. * @param resource_ The client's resource */ static inline void zaura_output_manager_send_overscan_insets(struct wl_resource *resource_, struct wl_resource *output, int32_t top, int32_t left, int32_t bottom, int32_t right) { … } #ifdef __cplusplus } #endif #endif