{-# LANGUAGE OverloadedStrings #-}
-- | Build time configuration used during code generation.
module GI.Gdk.Config ( overrides, modules ) where

import qualified Data.Text as T
import Data.Text (Text)

-- | Overrides used when generating these bindings.
overrides :: Text
overrides :: Text
overrides = [Text] -> Text
T.unlines
 [ Text
"# In most APIs these are used as guint, but they are declared as gint."
 , Text
"# See https://github.com/haskell-gi/haskell-gi/issues/58"
 , Text
"set-attr Gdk/~KEY_.*@constant/@type name guint"
 , Text
""
 , Text
"# The introspection annotation marks the parameter as"
 , Text
"# (out caller-allocates), but it is just a pointer to a GValue."
 , Text
"set-attr Gdk/ContentProvider/get_value/@parameters/value direction in"
 , Text
"set-attr Gdk/ContentProvider/get_value/@parameters/value caller-allocates 0"]

-- | Modules in this package
modules :: [Text]
modules :: [Text]
modules =  [ Text
"GI.Gdk.Config"
 , Text
"GI.Gdk"
 , Text
"GI.Gdk.Callbacks"
 , Text
"GI.Gdk.Constants"
 , Text
"GI.Gdk.Enums"
 , Text
"GI.Gdk.Flags"
 , Text
"GI.Gdk.Functions"
 , Text
"GI.Gdk.Interfaces"
 , Text
"GI.Gdk.Interfaces.DevicePad"
 , Text
"GI.Gdk.Interfaces.DragSurface"
 , Text
"GI.Gdk.Interfaces.Paintable"
 , Text
"GI.Gdk.Interfaces.Popup"
 , Text
"GI.Gdk.Interfaces.Toplevel"
 , Text
"GI.Gdk.Objects"
 , Text
"GI.Gdk.Objects.AppLaunchContext"
 , Text
"GI.Gdk.Objects.ButtonEvent"
 , Text
"GI.Gdk.Objects.CairoContext"
 , Text
"GI.Gdk.Objects.CicpParams"
 , Text
"GI.Gdk.Objects.Clipboard"
 , Text
"GI.Gdk.Objects.ContentDeserializer"
 , Text
"GI.Gdk.Objects.ContentProvider"
 , Text
"GI.Gdk.Objects.ContentSerializer"
 , Text
"GI.Gdk.Objects.CrossingEvent"
 , Text
"GI.Gdk.Objects.Cursor"
 , Text
"GI.Gdk.Objects.DNDEvent"
 , Text
"GI.Gdk.Objects.DeleteEvent"
 , Text
"GI.Gdk.Objects.Device"
 , Text
"GI.Gdk.Objects.DeviceTool"
 , Text
"GI.Gdk.Objects.Display"
 , Text
"GI.Gdk.Objects.DisplayManager"
 , Text
"GI.Gdk.Objects.DmabufTexture"
 , Text
"GI.Gdk.Objects.DmabufTextureBuilder"
 , Text
"GI.Gdk.Objects.Drag"
 , Text
"GI.Gdk.Objects.DrawContext"
 , Text
"GI.Gdk.Objects.Drop"
 , Text
"GI.Gdk.Objects.Event"
 , Text
"GI.Gdk.Objects.FocusEvent"
 , Text
"GI.Gdk.Objects.FrameClock"
 , Text
"GI.Gdk.Objects.GLContext"
 , Text
"GI.Gdk.Objects.GLTexture"
 , Text
"GI.Gdk.Objects.GLTextureBuilder"
 , Text
"GI.Gdk.Objects.GrabBrokenEvent"
 , Text
"GI.Gdk.Objects.KeyEvent"
 , Text
"GI.Gdk.Objects.MemoryTexture"
 , Text
"GI.Gdk.Objects.MemoryTextureBuilder"
 , Text
"GI.Gdk.Objects.Monitor"
 , Text
"GI.Gdk.Objects.MotionEvent"
 , Text
"GI.Gdk.Objects.PadEvent"
 , Text
"GI.Gdk.Objects.ProximityEvent"
 , Text
"GI.Gdk.Objects.ScrollEvent"
 , Text
"GI.Gdk.Objects.Seat"
 , Text
"GI.Gdk.Objects.Snapshot"
 , Text
"GI.Gdk.Objects.Surface"
 , Text
"GI.Gdk.Objects.Texture"
 , Text
"GI.Gdk.Objects.TouchEvent"
 , Text
"GI.Gdk.Objects.TouchpadEvent"
 , Text
"GI.Gdk.Objects.VulkanContext"
 , Text
"GI.Gdk.Structs"
 , Text
"GI.Gdk.Structs.ColorState"
 , Text
"GI.Gdk.Structs.ContentFormats"
 , Text
"GI.Gdk.Structs.ContentFormatsBuilder"
 , Text
"GI.Gdk.Structs.DmabufFormats"
 , Text
"GI.Gdk.Structs.DragSurfaceSize"
 , Text
"GI.Gdk.Structs.EventSequence"
 , Text
"GI.Gdk.Structs.FileList"
 , Text
"GI.Gdk.Structs.FrameTimings"
 , Text
"GI.Gdk.Structs.KeymapKey"
 , Text
"GI.Gdk.Structs.PopupLayout"
 , Text
"GI.Gdk.Structs.RGBA"
 , Text
"GI.Gdk.Structs.Rectangle"
 , Text
"GI.Gdk.Structs.TextureDownloader"
 , Text
"GI.Gdk.Structs.TimeCoord"
 , Text
"GI.Gdk.Structs.ToplevelLayout"
 , Text
"GI.Gdk.Structs.ToplevelSize"]