chromium/out/Default/gen/ui/gfx/x/xproto.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file was automatically generated with:
// ../../ui/gfx/x/gen_xproto.py \
//    ../../third_party/xcbproto/src \
//    gen/ui/gfx/x \
//    bigreq \
//    dri3 \
//    glx \
//    randr \
//    render \
//    screensaver \
//    shape \
//    shm \
//    sync \
//    xfixes \
//    xinput \
//    xkb \
//    xproto \
//    xtest

#ifndef UI_GFX_X_GENERATED_PROTOS_XPROTO_H_
#define UI_GFX_X_GENERATED_PROTOS_XPROTO_H_

#include <array>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <optional>
#include <vector>

#include "base/component_export.h"
#include "base/files/scoped_file.h"
#include "base/memory/scoped_refptr.h"
#include "ui/gfx/x/error.h"
#include "ui/gfx/x/ref_counted_fd.h"
#include "ui/gfx/x/xproto_types.h"

namespace x11 {

class Connection;

template <typename Reply>
struct Response;

template <typename Reply>
class Future;

enum class GraphicsContext : uint32_t {};

enum class ColorMap : uint32_t {};

enum class Bool32 : uint32_t {};

enum class VisualId : uint32_t {};

enum class KeySym : uint32_t {};

enum class KeyCode : uint8_t {};

enum class KeyCode32 : uint32_t {};

enum class Button : uint8_t {};

enum class VisualClass : int {};

enum class EventMask : int {};

enum class BackingStore : int {};

enum class ImageOrder : int {};

enum class ModMask : int {};

enum class KeyButMask : int {};

enum class Window : uint32_t {};

enum class ButtonMask : int {};

enum class Motion : int {};

enum class NotifyDetail : int {};

enum class NotifyMode : int {};

enum class Visibility : int {};

enum class Place : int {};

enum class Property : int {};

enum class Time : uint32_t {};

enum class Atom : uint32_t {};

enum class ColormapState : int {};

enum class Colormap : int {};

enum class Mapping : int {};

enum class WindowClass : int {};

enum class CreateWindowAttribute : int {};

enum class BackPixmap : int {};

enum class Gravity : int {};

enum class MapState : int {};

enum class SetMode : int {};

enum class ConfigWindow : int {};

enum class StackMode : int {};

enum class Circulate : int {};

enum class PropMode : int {};

enum class GetPropertyType : int {};

enum class SendEventDest : int {};

enum class GrabMode : int {};

enum class GrabStatus : int {};

enum class Cursor : uint32_t {};

enum class ButtonIndex : int {};

enum class Grab : int {};

enum class Allow : int {};

enum class InputFocus : int {};

enum class FontDraw : int {};

enum class GraphicsContextAttribute : int {};

enum class Gx : int {};

enum class LineStyle : int {};

enum class CapStyle : int {};

enum class JoinStyle : int {};

enum class FillStyle : int {};

enum class FillRule : int {};

enum class SubwindowMode : int {};

enum class ArcMode : int {};

enum class ClipOrdering : int {};

enum class CoordMode : int {};

enum class PolyShape : int {};

enum class ImageFormat : int {};

enum class ColormapAlloc : int {};

enum class ColorFlag : int {};

enum class Pixmap : uint32_t {};

enum class Font : uint32_t {};

enum class QueryShapeOf : int {};

enum class Keyboard : int {};

enum class LedMode : int {};

enum class AutoRepeatMode : int {};

enum class Blanking : int {};

enum class Exposures : int {};

enum class HostMode : int {};

enum class Family : int {};

enum class AccessControl : int {};

enum class CloseDown : int {};

enum class Kill : int {};

enum class ScreenSaverMode : int {};

enum class MappingStatus : int {};

enum class MapIndex : int {};

struct Drawable {};

struct Fontable {};

struct Char16 {};

struct Point {};

struct Rectangle {};

struct Arc {};

struct Format {};

struct VisualType {};

struct Depth {};

struct Screen {};

struct SetupRequest {};

struct SetupFailed {};

struct SetupAuthenticate {};

struct Setup {};

struct KeyEvent {};

struct ButtonEvent {};

struct MotionNotifyEvent {};

struct CrossingEvent {};

struct FocusEvent {};

struct KeymapNotifyEvent {};

struct ExposeEvent {};

struct GraphicsExposureEvent {};

struct NoExposureEvent {};

struct VisibilityNotifyEvent {};

struct CreateNotifyEvent {};

struct DestroyNotifyEvent {};

struct UnmapNotifyEvent {};

struct MapNotifyEvent {};

struct MapRequestEvent {};

struct ReparentNotifyEvent {};

struct ConfigureNotifyEvent {};

struct ConfigureRequestEvent {};

struct GravityNotifyEvent {};

struct ResizeRequestEvent {};

struct CirculateEvent {};

struct PropertyNotifyEvent {};

struct SelectionClearEvent {};

struct SelectionRequestEvent {};

struct SelectionNotifyEvent {};

struct ColormapNotifyEvent {};

ClientMessageData;
static_assert;

struct ClientMessageEvent {};

struct MappingNotifyEvent {};

struct GeGenericEvent {};

struct RequestError : public x11::Error {};

struct ValueError : public x11::Error {};

struct WindowError : public x11::Error {};

struct PixmapError : public x11::Error {};

struct AtomError : public x11::Error {};

struct CursorError : public x11::Error {};

struct FontError : public x11::Error {};

struct MatchError : public x11::Error {};

struct DrawableError : public x11::Error {};

struct AccessError : public x11::Error {};

struct AllocError : public x11::Error {};

struct ColormapError : public x11::Error {};

struct GContextError : public x11::Error {};

struct IDChoiceError : public x11::Error {};

struct NameError : public x11::Error {};

struct LengthError : public x11::Error {};

struct ImplementationError : public x11::Error {};

struct TimeCoord {};

struct FontProperty {};

struct CharInfo {};

struct Str {};

struct Segment {};

struct ColorItem {};

struct Rgb {};

struct Host {};

struct CreateWindowRequest {};

CreateWindowResponse;

struct ChangeWindowAttributesRequest {};

ChangeWindowAttributesResponse;

struct GetWindowAttributesRequest {};

struct GetWindowAttributesReply {};

GetWindowAttributesResponse;

struct DestroyWindowRequest {};

DestroyWindowResponse;

struct DestroySubwindowsRequest {};

DestroySubwindowsResponse;

struct ChangeSaveSetRequest {};

ChangeSaveSetResponse;

struct ReparentWindowRequest {};

ReparentWindowResponse;

struct MapWindowRequest {};

MapWindowResponse;

struct MapSubwindowsRequest {};

MapSubwindowsResponse;

struct UnmapWindowRequest {};

UnmapWindowResponse;

struct UnmapSubwindowsRequest {};

UnmapSubwindowsResponse;

struct ConfigureWindowRequest {};

ConfigureWindowResponse;

struct CirculateWindowRequest {};

CirculateWindowResponse;

struct GetGeometryRequest {};

struct GetGeometryReply {};

GetGeometryResponse;

struct QueryTreeRequest {};

struct QueryTreeReply {};

QueryTreeResponse;

struct InternAtomRequest {};

struct InternAtomReply {};

InternAtomResponse;

struct GetAtomNameRequest {};

struct GetAtomNameReply {};

GetAtomNameResponse;

struct ChangePropertyRequest {};

ChangePropertyResponse;

struct DeletePropertyRequest {};

DeletePropertyResponse;

struct GetPropertyRequest {};

struct GetPropertyReply {};

GetPropertyResponse;

struct ListPropertiesRequest {};

struct ListPropertiesReply {};

ListPropertiesResponse;

struct SetSelectionOwnerRequest {};

SetSelectionOwnerResponse;

struct GetSelectionOwnerRequest {};

struct GetSelectionOwnerReply {};

GetSelectionOwnerResponse;

struct ConvertSelectionRequest {};

ConvertSelectionResponse;

struct SendEventRequest {};

SendEventResponse;

struct GrabPointerRequest {};

struct GrabPointerReply {};

GrabPointerResponse;

struct UngrabPointerRequest {};

UngrabPointerResponse;

struct GrabButtonRequest {};

GrabButtonResponse;

struct UngrabButtonRequest {};

UngrabButtonResponse;

struct ChangeActivePointerGrabRequest {};

ChangeActivePointerGrabResponse;

struct GrabKeyboardRequest {};

struct GrabKeyboardReply {};

GrabKeyboardResponse;

struct UngrabKeyboardRequest {};

UngrabKeyboardResponse;

struct GrabKeyRequest {};

GrabKeyResponse;

struct UngrabKeyRequest {};

UngrabKeyResponse;

struct AllowEventsRequest {};

AllowEventsResponse;

struct GrabServerRequest {};

GrabServerResponse;

struct UngrabServerRequest {};

UngrabServerResponse;

struct QueryPointerRequest {};

struct QueryPointerReply {};

QueryPointerResponse;

struct GetMotionEventsRequest {};

struct GetMotionEventsReply {};

GetMotionEventsResponse;

struct TranslateCoordinatesRequest {};

struct TranslateCoordinatesReply {};

TranslateCoordinatesResponse;

struct WarpPointerRequest {};

WarpPointerResponse;

struct SetInputFocusRequest {};

SetInputFocusResponse;

struct GetInputFocusRequest {};

struct GetInputFocusReply {};

GetInputFocusResponse;

struct QueryKeymapRequest {};

struct QueryKeymapReply {};

QueryKeymapResponse;

struct OpenFontRequest {};

OpenFontResponse;

struct CloseFontRequest {};

CloseFontResponse;

struct QueryFontRequest {};

struct QueryFontReply {};

QueryFontResponse;

struct QueryTextExtentsRequest {};

struct QueryTextExtentsReply {};

QueryTextExtentsResponse;

struct ListFontsRequest {};

struct ListFontsReply {};

ListFontsResponse;

struct ListFontsWithInfoRequest {};

struct ListFontsWithInfoReply {};

ListFontsWithInfoResponse;

struct SetFontPathRequest {};

SetFontPathResponse;

struct GetFontPathRequest {};

struct GetFontPathReply {};

GetFontPathResponse;

struct CreatePixmapRequest {};

CreatePixmapResponse;

struct FreePixmapRequest {};

FreePixmapResponse;

struct CreateGCRequest {};

CreateGCResponse;

struct ChangeGCRequest {};

ChangeGCResponse;

struct CopyGCRequest {};

CopyGCResponse;

struct SetDashesRequest {};

SetDashesResponse;

struct SetClipRectanglesRequest {};

SetClipRectanglesResponse;

struct FreeGCRequest {};

FreeGCResponse;

struct ClearAreaRequest {};

ClearAreaResponse;

struct CopyAreaRequest {};

CopyAreaResponse;

struct CopyPlaneRequest {};

CopyPlaneResponse;

struct PolyPointRequest {};

PolyPointResponse;

struct PolyLineRequest {};

PolyLineResponse;

struct PolySegmentRequest {};

PolySegmentResponse;

struct PolyRectangleRequest {};

PolyRectangleResponse;

struct PolyArcRequest {};

PolyArcResponse;

struct FillPolyRequest {};

FillPolyResponse;

struct PolyFillRectangleRequest {};

PolyFillRectangleResponse;

struct PolyFillArcRequest {};

PolyFillArcResponse;

struct PutImageRequest {};

PutImageResponse;

struct GetImageRequest {};

struct GetImageReply {};

GetImageResponse;

struct PolyText8Request {};

PolyText8Response;

struct PolyText16Request {};

PolyText16Response;

struct ImageText8Request {};

ImageText8Response;

struct ImageText16Request {};

ImageText16Response;

struct CreateColormapRequest {};

CreateColormapResponse;

struct FreeColormapRequest {};

FreeColormapResponse;

struct CopyColormapAndFreeRequest {};

CopyColormapAndFreeResponse;

struct InstallColormapRequest {};

InstallColormapResponse;

struct UninstallColormapRequest {};

UninstallColormapResponse;

struct ListInstalledColormapsRequest {};

struct ListInstalledColormapsReply {};

ListInstalledColormapsResponse;

struct AllocColorRequest {};

struct AllocColorReply {};

AllocColorResponse;

struct AllocNamedColorRequest {};

struct AllocNamedColorReply {};

AllocNamedColorResponse;

struct AllocColorCellsRequest {};

struct AllocColorCellsReply {};

AllocColorCellsResponse;

struct AllocColorPlanesRequest {};

struct AllocColorPlanesReply {};

AllocColorPlanesResponse;

struct FreeColorsRequest {};

FreeColorsResponse;

struct StoreColorsRequest {};

StoreColorsResponse;

struct StoreNamedColorRequest {};

StoreNamedColorResponse;

struct QueryColorsRequest {};

struct QueryColorsReply {};

QueryColorsResponse;

struct LookupColorRequest {};

struct LookupColorReply {};

LookupColorResponse;

struct CreateCursorRequest {};

CreateCursorResponse;

struct CreateGlyphCursorRequest {};

CreateGlyphCursorResponse;

struct FreeCursorRequest {};

FreeCursorResponse;

struct RecolorCursorRequest {};

RecolorCursorResponse;

struct QueryBestSizeRequest {};

struct QueryBestSizeReply {};

QueryBestSizeResponse;

struct QueryExtensionRequest {};

struct QueryExtensionReply {};

QueryExtensionResponse;

struct ListExtensionsRequest {};

struct ListExtensionsReply {};

ListExtensionsResponse;

struct ChangeKeyboardMappingRequest {};

ChangeKeyboardMappingResponse;

struct GetKeyboardMappingRequest {};

struct GetKeyboardMappingReply {};

GetKeyboardMappingResponse;

struct ChangeKeyboardControlRequest {};

ChangeKeyboardControlResponse;

struct GetKeyboardControlRequest {};

struct GetKeyboardControlReply {};

GetKeyboardControlResponse;

struct BellRequest {};

BellResponse;

struct ChangePointerControlRequest {};

ChangePointerControlResponse;

struct GetPointerControlRequest {};

struct GetPointerControlReply {};

GetPointerControlResponse;

struct SetScreenSaverRequest {};

SetScreenSaverResponse;

struct GetScreenSaverRequest {};

struct GetScreenSaverReply {};

GetScreenSaverResponse;

struct ChangeHostsRequest {};

ChangeHostsResponse;

struct ListHostsRequest {};

struct ListHostsReply {};

ListHostsResponse;

struct SetAccessControlRequest {};

SetAccessControlResponse;

struct SetCloseDownModeRequest {};

SetCloseDownModeResponse;

struct KillClientRequest {};

KillClientResponse;

struct RotatePropertiesRequest {};

RotatePropertiesResponse;

struct ForceScreenSaverRequest {};

ForceScreenSaverResponse;

struct SetPointerMappingRequest {};

struct SetPointerMappingReply {};

SetPointerMappingResponse;

struct GetPointerMappingRequest {};

struct GetPointerMappingReply {};

GetPointerMappingResponse;

struct SetModifierMappingRequest {};

struct SetModifierMappingReply {};

SetModifierMappingResponse;

struct GetModifierMappingRequest {};

struct GetModifierMappingReply {};

GetModifierMappingResponse;

struct NoOperationRequest {};

NoOperationResponse;

class COMPONENT_EXPORT(X11) XProto {};

}  // namespace x11

inline constexpr x11::VisualClass operator|(x11::VisualClass l,
                                            x11::VisualClass r) {}

inline constexpr x11::VisualClass operator&(x11::VisualClass l,
                                            x11::VisualClass r) {}

inline constexpr x11::EventMask operator|(x11::EventMask l, x11::EventMask r) {}

inline constexpr x11::EventMask operator&(x11::EventMask l, x11::EventMask r) {}

inline constexpr x11::BackingStore operator|(x11::BackingStore l,
                                             x11::BackingStore r) {}

inline constexpr x11::BackingStore operator&(x11::BackingStore l,
                                             x11::BackingStore r) {}

inline constexpr x11::ImageOrder operator|(x11::ImageOrder l,
                                           x11::ImageOrder r) {}

inline constexpr x11::ImageOrder operator&(x11::ImageOrder l,
                                           x11::ImageOrder r) {}

inline constexpr x11::ModMask operator|(x11::ModMask l, x11::ModMask r) {}

inline constexpr x11::ModMask operator&(x11::ModMask l, x11::ModMask r) {}

inline constexpr x11::KeyButMask operator|(x11::KeyButMask l,
                                           x11::KeyButMask r) {}

inline constexpr x11::KeyButMask operator&(x11::KeyButMask l,
                                           x11::KeyButMask r) {}

inline constexpr x11::Window operator|(x11::Window l, x11::Window r) {}

inline constexpr x11::Window operator&(x11::Window l, x11::Window r) {}

inline constexpr x11::ButtonMask operator|(x11::ButtonMask l,
                                           x11::ButtonMask r) {}

inline constexpr x11::ButtonMask operator&(x11::ButtonMask l,
                                           x11::ButtonMask r) {}

inline constexpr x11::Motion operator|(x11::Motion l, x11::Motion r) {}

inline constexpr x11::Motion operator&(x11::Motion l, x11::Motion r) {}

inline constexpr x11::NotifyDetail operator|(x11::NotifyDetail l,
                                             x11::NotifyDetail r) {}

inline constexpr x11::NotifyDetail operator&(x11::NotifyDetail l,
                                             x11::NotifyDetail r) {}

inline constexpr x11::NotifyMode operator|(x11::NotifyMode l,
                                           x11::NotifyMode r) {}

inline constexpr x11::NotifyMode operator&(x11::NotifyMode l,
                                           x11::NotifyMode r) {}

inline constexpr x11::Visibility operator|(x11::Visibility l,
                                           x11::Visibility r) {}

inline constexpr x11::Visibility operator&(x11::Visibility l,
                                           x11::Visibility r) {}

inline constexpr x11::Place operator|(x11::Place l, x11::Place r) {}

inline constexpr x11::Place operator&(x11::Place l, x11::Place r) {}

inline constexpr x11::Property operator|(x11::Property l, x11::Property r) {}

inline constexpr x11::Property operator&(x11::Property l, x11::Property r) {}

inline constexpr x11::Time operator|(x11::Time l, x11::Time r) {}

inline constexpr x11::Time operator&(x11::Time l, x11::Time r) {}

inline constexpr x11::Atom operator|(x11::Atom l, x11::Atom r) {}

inline constexpr x11::Atom operator&(x11::Atom l, x11::Atom r) {}

inline constexpr x11::ColormapState operator|(x11::ColormapState l,
                                              x11::ColormapState r) {}

inline constexpr x11::ColormapState operator&(x11::ColormapState l,
                                              x11::ColormapState r) {}

inline constexpr x11::Colormap operator|(x11::Colormap l, x11::Colormap r) {}

inline constexpr x11::Colormap operator&(x11::Colormap l, x11::Colormap r) {}

inline constexpr x11::Mapping operator|(x11::Mapping l, x11::Mapping r) {}

inline constexpr x11::Mapping operator&(x11::Mapping l, x11::Mapping r) {}

inline constexpr x11::WindowClass operator|(x11::WindowClass l,
                                            x11::WindowClass r) {}

inline constexpr x11::WindowClass operator&(x11::WindowClass l,
                                            x11::WindowClass r) {}

inline constexpr x11::CreateWindowAttribute operator|(
    x11::CreateWindowAttribute l,
    x11::CreateWindowAttribute r) {}

inline constexpr x11::CreateWindowAttribute operator&(
    x11::CreateWindowAttribute l,
    x11::CreateWindowAttribute r) {}

inline constexpr x11::BackPixmap operator|(x11::BackPixmap l,
                                           x11::BackPixmap r) {}

inline constexpr x11::BackPixmap operator&(x11::BackPixmap l,
                                           x11::BackPixmap r) {}

inline constexpr x11::Gravity operator|(x11::Gravity l, x11::Gravity r) {}

inline constexpr x11::Gravity operator&(x11::Gravity l, x11::Gravity r) {}

inline constexpr x11::MapState operator|(x11::MapState l, x11::MapState r) {}

inline constexpr x11::MapState operator&(x11::MapState l, x11::MapState r) {}

inline constexpr x11::SetMode operator|(x11::SetMode l, x11::SetMode r) {}

inline constexpr x11::SetMode operator&(x11::SetMode l, x11::SetMode r) {}

inline constexpr x11::ConfigWindow operator|(x11::ConfigWindow l,
                                             x11::ConfigWindow r) {}

inline constexpr x11::ConfigWindow operator&(x11::ConfigWindow l,
                                             x11::ConfigWindow r) {}

inline constexpr x11::StackMode operator|(x11::StackMode l, x11::StackMode r) {}

inline constexpr x11::StackMode operator&(x11::StackMode l, x11::StackMode r) {}

inline constexpr x11::Circulate operator|(x11::Circulate l, x11::Circulate r) {}

inline constexpr x11::Circulate operator&(x11::Circulate l, x11::Circulate r) {}

inline constexpr x11::PropMode operator|(x11::PropMode l, x11::PropMode r) {}

inline constexpr x11::PropMode operator&(x11::PropMode l, x11::PropMode r) {}

inline constexpr x11::GetPropertyType operator|(x11::GetPropertyType l,
                                                x11::GetPropertyType r) {}

inline constexpr x11::GetPropertyType operator&(x11::GetPropertyType l,
                                                x11::GetPropertyType r) {}

inline constexpr x11::SendEventDest operator|(x11::SendEventDest l,
                                              x11::SendEventDest r) {}

inline constexpr x11::SendEventDest operator&(x11::SendEventDest l,
                                              x11::SendEventDest r) {}

inline constexpr x11::GrabMode operator|(x11::GrabMode l, x11::GrabMode r) {}

inline constexpr x11::GrabMode operator&(x11::GrabMode l, x11::GrabMode r) {}

inline constexpr x11::GrabStatus operator|(x11::GrabStatus l,
                                           x11::GrabStatus r) {}

inline constexpr x11::GrabStatus operator&(x11::GrabStatus l,
                                           x11::GrabStatus r) {}

inline constexpr x11::Cursor operator|(x11::Cursor l, x11::Cursor r) {}

inline constexpr x11::Cursor operator&(x11::Cursor l, x11::Cursor r) {}

inline constexpr x11::ButtonIndex operator|(x11::ButtonIndex l,
                                            x11::ButtonIndex r) {}

inline constexpr x11::ButtonIndex operator&(x11::ButtonIndex l,
                                            x11::ButtonIndex r) {}

inline constexpr x11::Grab operator|(x11::Grab l, x11::Grab r) {}

inline constexpr x11::Grab operator&(x11::Grab l, x11::Grab r) {}

inline constexpr x11::Allow operator|(x11::Allow l, x11::Allow r) {}

inline constexpr x11::Allow operator&(x11::Allow l, x11::Allow r) {}

inline constexpr x11::InputFocus operator|(x11::InputFocus l,
                                           x11::InputFocus r) {}

inline constexpr x11::InputFocus operator&(x11::InputFocus l,
                                           x11::InputFocus r) {}

inline constexpr x11::FontDraw operator|(x11::FontDraw l, x11::FontDraw r) {}

inline constexpr x11::FontDraw operator&(x11::FontDraw l, x11::FontDraw r) {}

inline constexpr x11::GraphicsContextAttribute operator|(
    x11::GraphicsContextAttribute l,
    x11::GraphicsContextAttribute r) {}

inline constexpr x11::GraphicsContextAttribute operator&(
    x11::GraphicsContextAttribute l,
    x11::GraphicsContextAttribute r) {}

inline constexpr x11::Gx operator|(x11::Gx l, x11::Gx r) {}

inline constexpr x11::Gx operator&(x11::Gx l, x11::Gx r) {}

inline constexpr x11::LineStyle operator|(x11::LineStyle l, x11::LineStyle r) {}

inline constexpr x11::LineStyle operator&(x11::LineStyle l, x11::LineStyle r) {}

inline constexpr x11::CapStyle operator|(x11::CapStyle l, x11::CapStyle r) {}

inline constexpr x11::CapStyle operator&(x11::CapStyle l, x11::CapStyle r) {}

inline constexpr x11::JoinStyle operator|(x11::JoinStyle l, x11::JoinStyle r) {}

inline constexpr x11::JoinStyle operator&(x11::JoinStyle l, x11::JoinStyle r) {}

inline constexpr x11::FillStyle operator|(x11::FillStyle l, x11::FillStyle r) {}

inline constexpr x11::FillStyle operator&(x11::FillStyle l, x11::FillStyle r) {}

inline constexpr x11::FillRule operator|(x11::FillRule l, x11::FillRule r) {}

inline constexpr x11::FillRule operator&(x11::FillRule l, x11::FillRule r) {}

inline constexpr x11::SubwindowMode operator|(x11::SubwindowMode l,
                                              x11::SubwindowMode r) {}

inline constexpr x11::SubwindowMode operator&(x11::SubwindowMode l,
                                              x11::SubwindowMode r) {}

inline constexpr x11::ArcMode operator|(x11::ArcMode l, x11::ArcMode r) {}

inline constexpr x11::ArcMode operator&(x11::ArcMode l, x11::ArcMode r) {}

inline constexpr x11::ClipOrdering operator|(x11::ClipOrdering l,
                                             x11::ClipOrdering r) {}

inline constexpr x11::ClipOrdering operator&(x11::ClipOrdering l,
                                             x11::ClipOrdering r) {}

inline constexpr x11::CoordMode operator|(x11::CoordMode l, x11::CoordMode r) {}

inline constexpr x11::CoordMode operator&(x11::CoordMode l, x11::CoordMode r) {}

inline constexpr x11::PolyShape operator|(x11::PolyShape l, x11::PolyShape r) {}

inline constexpr x11::PolyShape operator&(x11::PolyShape l, x11::PolyShape r) {}

inline constexpr x11::ImageFormat operator|(x11::ImageFormat l,
                                            x11::ImageFormat r) {}

inline constexpr x11::ImageFormat operator&(x11::ImageFormat l,
                                            x11::ImageFormat r) {}

inline constexpr x11::ColormapAlloc operator|(x11::ColormapAlloc l,
                                              x11::ColormapAlloc r) {}

inline constexpr x11::ColormapAlloc operator&(x11::ColormapAlloc l,
                                              x11::ColormapAlloc r) {}

inline constexpr x11::ColorFlag operator|(x11::ColorFlag l, x11::ColorFlag r) {}

inline constexpr x11::ColorFlag operator&(x11::ColorFlag l, x11::ColorFlag r) {}

inline constexpr x11::Pixmap operator|(x11::Pixmap l, x11::Pixmap r) {}

inline constexpr x11::Pixmap operator&(x11::Pixmap l, x11::Pixmap r) {}

inline constexpr x11::Font operator|(x11::Font l, x11::Font r) {}

inline constexpr x11::Font operator&(x11::Font l, x11::Font r) {}

inline constexpr x11::QueryShapeOf operator|(x11::QueryShapeOf l,
                                             x11::QueryShapeOf r) {}

inline constexpr x11::QueryShapeOf operator&(x11::QueryShapeOf l,
                                             x11::QueryShapeOf r) {}

inline constexpr x11::Keyboard operator|(x11::Keyboard l, x11::Keyboard r) {}

inline constexpr x11::Keyboard operator&(x11::Keyboard l, x11::Keyboard r) {}

inline constexpr x11::LedMode operator|(x11::LedMode l, x11::LedMode r) {}

inline constexpr x11::LedMode operator&(x11::LedMode l, x11::LedMode r) {}

inline constexpr x11::AutoRepeatMode operator|(x11::AutoRepeatMode l,
                                               x11::AutoRepeatMode r) {}

inline constexpr x11::AutoRepeatMode operator&(x11::AutoRepeatMode l,
                                               x11::AutoRepeatMode r) {}

inline constexpr x11::Blanking operator|(x11::Blanking l, x11::Blanking r) {}

inline constexpr x11::Blanking operator&(x11::Blanking l, x11::Blanking r) {}

inline constexpr x11::Exposures operator|(x11::Exposures l, x11::Exposures r) {}

inline constexpr x11::Exposures operator&(x11::Exposures l, x11::Exposures r) {}

inline constexpr x11::HostMode operator|(x11::HostMode l, x11::HostMode r) {}

inline constexpr x11::HostMode operator&(x11::HostMode l, x11::HostMode r) {}

inline constexpr x11::Family operator|(x11::Family l, x11::Family r) {}

inline constexpr x11::Family operator&(x11::Family l, x11::Family r) {}

inline constexpr x11::AccessControl operator|(x11::AccessControl l,
                                              x11::AccessControl r) {}

inline constexpr x11::AccessControl operator&(x11::AccessControl l,
                                              x11::AccessControl r) {}

inline constexpr x11::CloseDown operator|(x11::CloseDown l, x11::CloseDown r) {}

inline constexpr x11::CloseDown operator&(x11::CloseDown l, x11::CloseDown r) {}

inline constexpr x11::Kill operator|(x11::Kill l, x11::Kill r) {}

inline constexpr x11::Kill operator&(x11::Kill l, x11::Kill r) {}

inline constexpr x11::ScreenSaverMode operator|(x11::ScreenSaverMode l,
                                                x11::ScreenSaverMode r) {}

inline constexpr x11::ScreenSaverMode operator&(x11::ScreenSaverMode l,
                                                x11::ScreenSaverMode r) {}

inline constexpr x11::MappingStatus operator|(x11::MappingStatus l,
                                              x11::MappingStatus r) {}

inline constexpr x11::MappingStatus operator&(x11::MappingStatus l,
                                              x11::MappingStatus r) {}

inline constexpr x11::MapIndex operator|(x11::MapIndex l, x11::MapIndex r) {}

inline constexpr x11::MapIndex operator&(x11::MapIndex l, x11::MapIndex r) {}

#endif  // UI_GFX_X_GENERATED_PROTOS_XPROTO_H_