{-# LANGUAGE TypeApplications #-}


-- | Copyright  : Will Thompson and Iñaki García Etxebarria
-- License    : LGPL-2.1
-- Maintainer : Iñaki García Etxebarria
-- 
-- A @GdkDragSurface@ is an interface for surfaces used during DND.

#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif

module GI.Gdk.Interfaces.DragSurface
    ( 

-- * Exported types
    DragSurface(..)                         ,
    IsDragSurface                           ,
    toDragSurface                           ,


 -- * Methods
-- | 
-- 
--  === __Click to display all available methods, including inherited ones__
-- ==== Methods
-- [beep]("GI.Gdk.Objects.Surface#g:method:beep"), [bindProperty]("GI.GObject.Objects.Object#g:method:bindProperty"), [bindPropertyFull]("GI.GObject.Objects.Object#g:method:bindPropertyFull"), [createCairoContext]("GI.Gdk.Objects.Surface#g:method:createCairoContext"), [createGlContext]("GI.Gdk.Objects.Surface#g:method:createGlContext"), [createSimilarSurface]("GI.Gdk.Objects.Surface#g:method:createSimilarSurface"), [createVulkanContext]("GI.Gdk.Objects.Surface#g:method:createVulkanContext"), [destroy]("GI.Gdk.Objects.Surface#g:method:destroy"), [forceFloating]("GI.GObject.Objects.Object#g:method:forceFloating"), [freezeNotify]("GI.GObject.Objects.Object#g:method:freezeNotify"), [getv]("GI.GObject.Objects.Object#g:method:getv"), [hide]("GI.Gdk.Objects.Surface#g:method:hide"), [isDestroyed]("GI.Gdk.Objects.Surface#g:method:isDestroyed"), [isFloating]("GI.GObject.Objects.Object#g:method:isFloating"), [notify]("GI.GObject.Objects.Object#g:method:notify"), [notifyByPspec]("GI.GObject.Objects.Object#g:method:notifyByPspec"), [present]("GI.Gdk.Interfaces.DragSurface#g:method:present"), [queueRender]("GI.Gdk.Objects.Surface#g:method:queueRender"), [ref]("GI.GObject.Objects.Object#g:method:ref"), [refSink]("GI.GObject.Objects.Object#g:method:refSink"), [requestLayout]("GI.Gdk.Objects.Surface#g:method:requestLayout"), [runDispose]("GI.GObject.Objects.Object#g:method:runDispose"), [stealData]("GI.GObject.Objects.Object#g:method:stealData"), [stealQdata]("GI.GObject.Objects.Object#g:method:stealQdata"), [thawNotify]("GI.GObject.Objects.Object#g:method:thawNotify"), [translateCoordinates]("GI.Gdk.Objects.Surface#g:method:translateCoordinates"), [unref]("GI.GObject.Objects.Object#g:method:unref"), [watchClosure]("GI.GObject.Objects.Object#g:method:watchClosure").
-- 
-- ==== Getters
-- [getCursor]("GI.Gdk.Objects.Surface#g:method:getCursor"), [getData]("GI.GObject.Objects.Object#g:method:getData"), [getDeviceCursor]("GI.Gdk.Objects.Surface#g:method:getDeviceCursor"), [getDevicePosition]("GI.Gdk.Objects.Surface#g:method:getDevicePosition"), [getDisplay]("GI.Gdk.Objects.Surface#g:method:getDisplay"), [getFrameClock]("GI.Gdk.Objects.Surface#g:method:getFrameClock"), [getHeight]("GI.Gdk.Objects.Surface#g:method:getHeight"), [getMapped]("GI.Gdk.Objects.Surface#g:method:getMapped"), [getProperty]("GI.GObject.Objects.Object#g:method:getProperty"), [getQdata]("GI.GObject.Objects.Object#g:method:getQdata"), [getScaleFactor]("GI.Gdk.Objects.Surface#g:method:getScaleFactor"), [getWidth]("GI.Gdk.Objects.Surface#g:method:getWidth").
-- 
-- ==== Setters
-- [setCursor]("GI.Gdk.Objects.Surface#g:method:setCursor"), [setData]("GI.GObject.Objects.Object#g:method:setData"), [setDataFull]("GI.GObject.Objects.Object#g:method:setDataFull"), [setDeviceCursor]("GI.Gdk.Objects.Surface#g:method:setDeviceCursor"), [setInputRegion]("GI.Gdk.Objects.Surface#g:method:setInputRegion"), [setOpaqueRegion]("GI.Gdk.Objects.Surface#g:method:setOpaqueRegion"), [setProperty]("GI.GObject.Objects.Object#g:method:setProperty").

#if defined(ENABLE_OVERLOADING)
    ResolveDragSurfaceMethod                ,
#endif

-- ** present #method:present#

#if defined(ENABLE_OVERLOADING)
    DragSurfacePresentMethodInfo            ,
#endif
    dragSurfacePresent                      ,




    ) where

import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P

import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.BasicTypes as B.Types
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GArray as B.GArray
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GHashTable as B.GHT
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Control.Monad.IO.Class as MIO
import qualified Data.Coerce as Coerce
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import qualified GHC.Records as R

import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.Gdk.Objects.Surface as Gdk.Surface

-- interface DragSurface 
-- | Memory-managed wrapper type.
newtype DragSurface = DragSurface (SP.ManagedPtr DragSurface)
    deriving (DragSurface -> DragSurface -> Bool
(DragSurface -> DragSurface -> Bool)
-> (DragSurface -> DragSurface -> Bool) -> Eq DragSurface
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DragSurface -> DragSurface -> Bool
== :: DragSurface -> DragSurface -> Bool
$c/= :: DragSurface -> DragSurface -> Bool
/= :: DragSurface -> DragSurface -> Bool
Eq)

instance SP.ManagedPtrNewtype DragSurface where
    toManagedPtr :: DragSurface -> ManagedPtr DragSurface
toManagedPtr (DragSurface ManagedPtr DragSurface
p) = ManagedPtr DragSurface
p

foreign import ccall "gdk_drag_surface_get_type"
    c_gdk_drag_surface_get_type :: IO B.Types.GType

instance B.Types.TypedObject DragSurface where
    glibType :: IO GType
glibType = IO GType
c_gdk_drag_surface_get_type

instance B.Types.GObject DragSurface

-- | Type class for types which can be safely cast to `DragSurface`, for instance with `toDragSurface`.
class (SP.GObject o, O.IsDescendantOf DragSurface o) => IsDragSurface o
instance (SP.GObject o, O.IsDescendantOf DragSurface o) => IsDragSurface o

instance O.HasParentTypes DragSurface
type instance O.ParentTypes DragSurface = '[Gdk.Surface.Surface, GObject.Object.Object]

-- | Cast to `DragSurface`, for types for which this is known to be safe. For general casts, use `Data.GI.Base.ManagedPtr.castTo`.
toDragSurface :: (MIO.MonadIO m, IsDragSurface o) => o -> m DragSurface
toDragSurface :: forall (m :: * -> *) o.
(MonadIO m, IsDragSurface o) =>
o -> m DragSurface
toDragSurface = IO DragSurface -> m DragSurface
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
MIO.liftIO (IO DragSurface -> m DragSurface)
-> (o -> IO DragSurface) -> o -> m DragSurface
forall b c a. (b -> c) -> (a -> b) -> a -> c
. (ManagedPtr DragSurface -> DragSurface) -> o -> IO DragSurface
forall o o'.
(HasCallStack, ManagedPtrNewtype o, TypedObject o,
 ManagedPtrNewtype o', TypedObject o') =>
(ManagedPtr o' -> o') -> o -> IO o'
B.ManagedPtr.unsafeCastTo ManagedPtr DragSurface -> DragSurface
DragSurface

-- | Convert 'DragSurface' to and from 'Data.GI.Base.GValue.GValue'. See 'Data.GI.Base.GValue.toGValue' and 'Data.GI.Base.GValue.fromGValue'.
instance B.GValue.IsGValue (Maybe DragSurface) where
    gvalueGType_ :: IO GType
gvalueGType_ = IO GType
c_gdk_drag_surface_get_type
    gvalueSet_ :: Ptr GValue -> Maybe DragSurface -> IO ()
gvalueSet_ Ptr GValue
gv Maybe DragSurface
P.Nothing = Ptr GValue -> Ptr DragSurface -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv (Ptr DragSurface
forall a. Ptr a
FP.nullPtr :: FP.Ptr DragSurface)
    gvalueSet_ Ptr GValue
gv (P.Just DragSurface
obj) = DragSurface -> (Ptr DragSurface -> IO ()) -> IO ()
forall a c.
(HasCallStack, ManagedPtrNewtype a) =>
a -> (Ptr a -> IO c) -> IO c
B.ManagedPtr.withManagedPtr DragSurface
obj (Ptr GValue -> Ptr DragSurface -> IO ()
forall a. GObject a => Ptr GValue -> Ptr a -> IO ()
B.GValue.set_object Ptr GValue
gv)
    gvalueGet_ :: Ptr GValue -> IO (Maybe DragSurface)
gvalueGet_ Ptr GValue
gv = do
        Ptr DragSurface
ptr <- Ptr GValue -> IO (Ptr DragSurface)
forall a. GObject a => Ptr GValue -> IO (Ptr a)
B.GValue.get_object Ptr GValue
gv :: IO (FP.Ptr DragSurface)
        if Ptr DragSurface
ptr Ptr DragSurface -> Ptr DragSurface -> Bool
forall a. Eq a => a -> a -> Bool
/= Ptr DragSurface
forall a. Ptr a
FP.nullPtr
        then DragSurface -> Maybe DragSurface
forall a. a -> Maybe a
P.Just (DragSurface -> Maybe DragSurface)
-> IO DragSurface -> IO (Maybe DragSurface)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> (ManagedPtr DragSurface -> DragSurface)
-> Ptr DragSurface -> IO DragSurface
forall a b.
(HasCallStack, GObject a, GObject b) =>
(ManagedPtr a -> a) -> Ptr b -> IO a
B.ManagedPtr.newObject ManagedPtr DragSurface -> DragSurface
DragSurface Ptr DragSurface
ptr
        else Maybe DragSurface -> IO (Maybe DragSurface)
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Maybe DragSurface
forall a. Maybe a
P.Nothing
        
    

#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList DragSurface
type instance O.AttributeList DragSurface = DragSurfaceAttributeList
type DragSurfaceAttributeList = ('[ '("cursor", Gdk.Surface.SurfaceCursorPropertyInfo), '("display", Gdk.Surface.SurfaceDisplayPropertyInfo), '("frameClock", Gdk.Surface.SurfaceFrameClockPropertyInfo), '("height", Gdk.Surface.SurfaceHeightPropertyInfo), '("mapped", Gdk.Surface.SurfaceMappedPropertyInfo), '("scaleFactor", Gdk.Surface.SurfaceScaleFactorPropertyInfo), '("width", Gdk.Surface.SurfaceWidthPropertyInfo)] :: [(Symbol, *)])
#endif

#if defined(ENABLE_OVERLOADING)
#endif

#if defined(ENABLE_OVERLOADING)
type family ResolveDragSurfaceMethod (t :: Symbol) (o :: *) :: * where
    ResolveDragSurfaceMethod "beep" o = Gdk.Surface.SurfaceBeepMethodInfo
    ResolveDragSurfaceMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveDragSurfaceMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveDragSurfaceMethod "createCairoContext" o = Gdk.Surface.SurfaceCreateCairoContextMethodInfo
    ResolveDragSurfaceMethod "createGlContext" o = Gdk.Surface.SurfaceCreateGlContextMethodInfo
    ResolveDragSurfaceMethod "createSimilarSurface" o = Gdk.Surface.SurfaceCreateSimilarSurfaceMethodInfo
    ResolveDragSurfaceMethod "createVulkanContext" o = Gdk.Surface.SurfaceCreateVulkanContextMethodInfo
    ResolveDragSurfaceMethod "destroy" o = Gdk.Surface.SurfaceDestroyMethodInfo
    ResolveDragSurfaceMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveDragSurfaceMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveDragSurfaceMethod "getv" o = GObject.Object.ObjectGetvMethodInfo
    ResolveDragSurfaceMethod "hide" o = Gdk.Surface.SurfaceHideMethodInfo
    ResolveDragSurfaceMethod "isDestroyed" o = Gdk.Surface.SurfaceIsDestroyedMethodInfo
    ResolveDragSurfaceMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveDragSurfaceMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveDragSurfaceMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveDragSurfaceMethod "present" o = DragSurfacePresentMethodInfo
    ResolveDragSurfaceMethod "queueRender" o = Gdk.Surface.SurfaceQueueRenderMethodInfo
    ResolveDragSurfaceMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveDragSurfaceMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveDragSurfaceMethod "requestLayout" o = Gdk.Surface.SurfaceRequestLayoutMethodInfo
    ResolveDragSurfaceMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveDragSurfaceMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveDragSurfaceMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveDragSurfaceMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveDragSurfaceMethod "translateCoordinates" o = Gdk.Surface.SurfaceTranslateCoordinatesMethodInfo
    ResolveDragSurfaceMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveDragSurfaceMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveDragSurfaceMethod "getCursor" o = Gdk.Surface.SurfaceGetCursorMethodInfo
    ResolveDragSurfaceMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveDragSurfaceMethod "getDeviceCursor" o = Gdk.Surface.SurfaceGetDeviceCursorMethodInfo
    ResolveDragSurfaceMethod "getDevicePosition" o = Gdk.Surface.SurfaceGetDevicePositionMethodInfo
    ResolveDragSurfaceMethod "getDisplay" o = Gdk.Surface.SurfaceGetDisplayMethodInfo
    ResolveDragSurfaceMethod "getFrameClock" o = Gdk.Surface.SurfaceGetFrameClockMethodInfo
    ResolveDragSurfaceMethod "getHeight" o = Gdk.Surface.SurfaceGetHeightMethodInfo
    ResolveDragSurfaceMethod "getMapped" o = Gdk.Surface.SurfaceGetMappedMethodInfo
    ResolveDragSurfaceMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveDragSurfaceMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveDragSurfaceMethod "getScaleFactor" o = Gdk.Surface.SurfaceGetScaleFactorMethodInfo
    ResolveDragSurfaceMethod "getWidth" o = Gdk.Surface.SurfaceGetWidthMethodInfo
    ResolveDragSurfaceMethod "setCursor" o = Gdk.Surface.SurfaceSetCursorMethodInfo
    ResolveDragSurfaceMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveDragSurfaceMethod "setDataFull" o = GObject.Object.ObjectSetDataFullMethodInfo
    ResolveDragSurfaceMethod "setDeviceCursor" o = Gdk.Surface.SurfaceSetDeviceCursorMethodInfo
    ResolveDragSurfaceMethod "setInputRegion" o = Gdk.Surface.SurfaceSetInputRegionMethodInfo
    ResolveDragSurfaceMethod "setOpaqueRegion" o = Gdk.Surface.SurfaceSetOpaqueRegionMethodInfo
    ResolveDragSurfaceMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveDragSurfaceMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveDragSurfaceMethod t DragSurface, O.OverloadedMethod info DragSurface p) => OL.IsLabel t (DragSurface -> p) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.overloadedMethod @info
#else
    fromLabel _ = O.overloadedMethod @info
#endif

#if MIN_VERSION_base(4,13,0)
instance (info ~ ResolveDragSurfaceMethod t DragSurface, O.OverloadedMethod info DragSurface p, R.HasField t DragSurface p) => R.HasField t DragSurface p where
    getField = O.overloadedMethod @info

#endif

instance (info ~ ResolveDragSurfaceMethod t DragSurface, O.OverloadedMethodInfo info DragSurface) => OL.IsLabel t (O.MethodProxy info DragSurface) where
#if MIN_VERSION_base(4,10,0)
    fromLabel = O.MethodProxy
#else
    fromLabel _ = O.MethodProxy
#endif

#endif

-- method DragSurface::present
-- method type : OrdinaryMethod
-- Args: [ Arg
--           { argCName = "drag_surface"
--           , argType =
--               TInterface Name { namespace = "Gdk" , name = "DragSurface" }
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText = Just "the `GdkDragSurface` to show"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "width"
--           , argType = TBasicType TInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText =
--                     Just "the unconstrained drag_surface width to layout"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       , Arg
--           { argCName = "height"
--           , argType = TBasicType TInt
--           , direction = DirectionIn
--           , mayBeNull = False
--           , argDoc =
--               Documentation
--                 { rawDocText =
--                     Just "the unconstrained drag_surface height to layout"
--                 , sinceVersion = Nothing
--                 }
--           , argScope = ScopeTypeInvalid
--           , argClosure = -1
--           , argDestroy = -1
--           , argCallerAllocates = False
--           , transfer = TransferNothing
--           }
--       ]
-- Lengths: []
-- returnType: Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "gdk_drag_surface_present" gdk_drag_surface_present :: 
    Ptr DragSurface ->                      -- drag_surface : TInterface (Name {namespace = "Gdk", name = "DragSurface"})
    Int32 ->                                -- width : TBasicType TInt
    Int32 ->                                -- height : TBasicType TInt
    IO CInt

-- | Present /@dragSurface@/.
dragSurfacePresent ::
    (B.CallStack.HasCallStack, MonadIO m, IsDragSurface a) =>
    a
    -- ^ /@dragSurface@/: the @GdkDragSurface@ to show
    -> Int32
    -- ^ /@width@/: the unconstrained drag_surface width to layout
    -> Int32
    -- ^ /@height@/: the unconstrained drag_surface height to layout
    -> m Bool
    -- ^ __Returns:__ 'P.False' if it failed to be presented, otherwise 'P.True'.
dragSurfacePresent :: forall (m :: * -> *) a.
(HasCallStack, MonadIO m, IsDragSurface a) =>
a -> Int32 -> Int32 -> m Bool
dragSurfacePresent a
dragSurface Int32
width Int32
height = IO Bool -> m Bool
forall a. IO a -> m a
forall (m :: * -> *) a. MonadIO m => IO a -> m a
liftIO (IO Bool -> m Bool) -> IO Bool -> m Bool
forall a b. (a -> b) -> a -> b
$ do
    Ptr DragSurface
dragSurface' <- a -> IO (Ptr DragSurface)
forall a b. (HasCallStack, ManagedPtrNewtype a) => a -> IO (Ptr b)
unsafeManagedPtrCastPtr a
dragSurface
    CInt
result <- Ptr DragSurface -> Int32 -> Int32 -> IO CInt
gdk_drag_surface_present Ptr DragSurface
dragSurface' Int32
width Int32
height
    let result' :: Bool
result' = (CInt -> CInt -> Bool
forall a. Eq a => a -> a -> Bool
/= CInt
0) CInt
result
    a -> IO ()
forall a. ManagedPtrNewtype a => a -> IO ()
touchManagedPtr a
dragSurface
    Bool -> IO Bool
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return Bool
result'

#if defined(ENABLE_OVERLOADING)
data DragSurfacePresentMethodInfo
instance (signature ~ (Int32 -> Int32 -> m Bool), MonadIO m, IsDragSurface a) => O.OverloadedMethod DragSurfacePresentMethodInfo a signature where
    overloadedMethod = dragSurfacePresent

instance O.OverloadedMethodInfo DragSurfacePresentMethodInfo a where
    overloadedMethodInfo = P.Just (O.ResolvedSymbolInfo {
        O.resolvedSymbolName = "GI.Gdk.Interfaces.DragSurface.dragSurfacePresent",
        O.resolvedSymbolURL = "https://hackage.haskell.org/package/gi-gdk-4.0.5/docs/GI-Gdk-Interfaces-DragSurface.html#v:dragSurfacePresent"
        })


#endif

#if defined(ENABLE_OVERLOADING)
type instance O.SignalList DragSurface = DragSurfaceSignalList
type DragSurfaceSignalList = ('[ '("enterMonitor", Gdk.Surface.SurfaceEnterMonitorSignalInfo), '("event", Gdk.Surface.SurfaceEventSignalInfo), '("layout", Gdk.Surface.SurfaceLayoutSignalInfo), '("leaveMonitor", Gdk.Surface.SurfaceLeaveMonitorSignalInfo), '("notify", GObject.Object.ObjectNotifySignalInfo), '("render", Gdk.Surface.SurfaceRenderSignalInfo)] :: [(Symbol, *)])

#endif