{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Tray.Unsafe (
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_CreateTray,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayIcon,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayTooltip,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_CreateTrayMenu,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_CreateTraySubmenu,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayMenu,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTraySubmenu,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayEntries,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_RemoveTrayEntry,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_InsertTrayEntryAt,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayEntryLabel,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayEntryLabel,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayEntryChecked,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayEntryChecked,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayEntryEnabled,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayEntryEnabled,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_SetTrayEntryCallback,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_ClickTrayEntry,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_DestroyTray,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayEntryParent,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayMenuParentEntry,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_GetTrayMenuParentTray,
SDL3.Sys.Bindgen.Tray.Unsafe.sDL_UpdateTrays,
)
where
import Prelude (IO, fmap)
import HsBindgen.Runtime.LibC qualified
import HsBindgen.Runtime.PtrConst qualified as PtrConst
import HsBindgen.Runtime.Support qualified as BG
import HsBindgen.Runtime.Support.CAPI qualified
import SDL3.Sys.Bindgen.Surface qualified
import SDL3.Sys.Bindgen.Tray
$( HsBindgen.Runtime.Support.CAPI.addCSource
( HsBindgen.Runtime.Support.CAPI.unlines
[ "#define SDL_MAIN_HANDLED"
, "#define SDL_SLOW_MEMCPY"
, "#define SDL_SLOW_MEMMOVE"
, "#define SDL_SLOW_MEMSET"
, "#include <SDL3/SDL_tray.h>"
, "SDL_Tray *hs_bindgen_e85818417f6c25aa ("
, " SDL_Surface *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_CreateTray)(arg1, arg2);"
, "}"
, "void hs_bindgen_9aff16c03b0f79a4 ("
, " SDL_Tray *arg1,"
, " SDL_Surface *arg2"
, ")"
, "{"
, " (SDL_SetTrayIcon)(arg1, arg2);"
, "}"
, "void hs_bindgen_3a0f6abbabc3be43 ("
, " SDL_Tray *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_SetTrayTooltip)(arg1, arg2);"
, "}"
, "SDL_TrayMenu *hs_bindgen_bd35a68090435dd7 ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " return (SDL_CreateTrayMenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_c024bcab15166d09 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_CreateTraySubmenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_a75b79185593c812 ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_a4e00099ee20fd23 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTraySubmenu)(arg1);"
, "}"
, "SDL_TrayEntry const **hs_bindgen_210fd2f6b416750d ("
, " SDL_TrayMenu *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetTrayEntries)(arg1, arg2);"
, "}"
, "void hs_bindgen_6b3503beb8dd3ba3 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " (SDL_RemoveTrayEntry)(arg1);"
, "}"
, "SDL_TrayEntry *hs_bindgen_cc14c44dbb0c78cb ("
, " SDL_TrayMenu *arg1,"
, " signed int arg2,"
, " char const *arg3,"
, " SDL_TrayEntryFlags arg4"
, ")"
, "{"
, " return (SDL_InsertTrayEntryAt)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_504886286a699c39 ("
, " SDL_TrayEntry *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryLabel)(arg1, arg2);"
, "}"
, "char const *hs_bindgen_9759e7e644805c7d ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryLabel)(arg1);"
, "}"
, "void hs_bindgen_74cb41035d525059 ("
, " SDL_TrayEntry *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryChecked)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_fe94492d1c67a601 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryChecked)(arg1);"
, "}"
, "void hs_bindgen_5263a949bd152767 ("
, " SDL_TrayEntry *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryEnabled)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_76a35c1dee9b4197 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryEnabled)(arg1);"
, "}"
, "void hs_bindgen_3a82abfce11b4c94 ("
, " SDL_TrayEntry *arg1,"
, " SDL_TrayCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " (SDL_SetTrayEntryCallback)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_a8a4d1df90923df2 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " (SDL_ClickTrayEntry)(arg1);"
, "}"
, "void hs_bindgen_fe47cafa5c754a5a ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " (SDL_DestroyTray)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_3e7aeb66ff2f2f10 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryParent)(arg1);"
, "}"
, "SDL_TrayEntry *hs_bindgen_89d0a7d911ebcebd ("
, " SDL_TrayMenu *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenuParentEntry)(arg1);"
, "}"
, "SDL_Tray *hs_bindgen_48fcf0bd7a472bcb ("
, " SDL_TrayMenu *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenuParentTray)(arg1);"
, "}"
, "void hs_bindgen_03e94a19f107d107 (void)"
, "{"
, " (SDL_UpdateTrays)();"
, "}"
]
)
)
foreign import ccall unsafe "hs_bindgen_e85818417f6c25aa"
hs_bindgen_e85818417f6c25aa_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_e85818417f6c25aa
:: BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Tray)
hs_bindgen_e85818417f6c25aa :: Ptr SDL_Surface -> PtrConst CChar -> IO (Ptr SDL_Tray)
hs_bindgen_e85818417f6c25aa =
\Ptr SDL_Surface
x0 ->
\PtrConst CChar
x1 ->
(Ptr Void -> Ptr SDL_Tray) -> IO (Ptr Void) -> IO (Ptr SDL_Tray)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Tray
FFIType (Ptr SDL_Tray) -> Ptr SDL_Tray
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_e85818417f6c25aa_base (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1))
sDL_CreateTray
:: BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Tray)
sDL_CreateTray :: Ptr SDL_Surface -> PtrConst CChar -> IO (Ptr SDL_Tray)
sDL_CreateTray = Ptr SDL_Surface -> PtrConst CChar -> IO (Ptr SDL_Tray)
hs_bindgen_e85818417f6c25aa
foreign import ccall unsafe "hs_bindgen_9aff16c03b0f79a4"
hs_bindgen_9aff16c03b0f79a4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_9aff16c03b0f79a4
:: BG.Ptr SDL_Tray
-> BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> IO ()
hs_bindgen_9aff16c03b0f79a4 :: Ptr SDL_Tray -> Ptr SDL_Surface -> IO ()
hs_bindgen_9aff16c03b0f79a4 =
\Ptr SDL_Tray
x0 ->
\Ptr SDL_Surface
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_9aff16c03b0f79a4_base (Ptr SDL_Tray -> FFIType (Ptr SDL_Tray)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Tray
x0) (Ptr SDL_Surface -> FFIType (Ptr SDL_Surface)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Surface
x1)
sDL_SetTrayIcon
:: BG.Ptr SDL_Tray
-> BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> IO ()
sDL_SetTrayIcon :: Ptr SDL_Tray -> Ptr SDL_Surface -> IO ()
sDL_SetTrayIcon = Ptr SDL_Tray -> Ptr SDL_Surface -> IO ()
hs_bindgen_9aff16c03b0f79a4
foreign import ccall unsafe "hs_bindgen_3a0f6abbabc3be43"
hs_bindgen_3a0f6abbabc3be43_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_3a0f6abbabc3be43
:: BG.Ptr SDL_Tray
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_3a0f6abbabc3be43 :: Ptr SDL_Tray -> PtrConst CChar -> IO ()
hs_bindgen_3a0f6abbabc3be43 =
\Ptr SDL_Tray
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_3a0f6abbabc3be43_base (Ptr SDL_Tray -> FFIType (Ptr SDL_Tray)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Tray
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
sDL_SetTrayTooltip
:: BG.Ptr SDL_Tray
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_SetTrayTooltip :: Ptr SDL_Tray -> PtrConst CChar -> IO ()
sDL_SetTrayTooltip = Ptr SDL_Tray -> PtrConst CChar -> IO ()
hs_bindgen_3a0f6abbabc3be43
foreign import ccall unsafe "hs_bindgen_bd35a68090435dd7"
hs_bindgen_bd35a68090435dd7_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_bd35a68090435dd7
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_bd35a68090435dd7 :: Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_bd35a68090435dd7 =
\Ptr SDL_Tray
x0 ->
(Ptr Void -> Ptr SDL_TrayMenu)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayMenu)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayMenu
FFIType (Ptr SDL_TrayMenu) -> Ptr SDL_TrayMenu
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_bd35a68090435dd7_base (Ptr SDL_Tray -> FFIType (Ptr SDL_Tray)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Tray
x0))
sDL_CreateTrayMenu
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
= Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_bd35a68090435dd7
foreign import ccall unsafe "hs_bindgen_c024bcab15166d09"
hs_bindgen_c024bcab15166d09_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_c024bcab15166d09
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_c024bcab15166d09 :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_c024bcab15166d09 =
\Ptr SDL_TrayEntry
x0 ->
(Ptr Void -> Ptr SDL_TrayMenu)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayMenu)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayMenu
FFIType (Ptr SDL_TrayMenu) -> Ptr SDL_TrayMenu
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_c024bcab15166d09_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_CreateTraySubmenu
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
= Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_c024bcab15166d09
foreign import ccall unsafe "hs_bindgen_a75b79185593c812"
hs_bindgen_a75b79185593c812_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a75b79185593c812
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_a75b79185593c812 :: Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_a75b79185593c812 =
\Ptr SDL_Tray
x0 ->
(Ptr Void -> Ptr SDL_TrayMenu)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayMenu)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayMenu
FFIType (Ptr SDL_TrayMenu) -> Ptr SDL_TrayMenu
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_a75b79185593c812_base (Ptr SDL_Tray -> FFIType (Ptr SDL_Tray)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Tray
x0))
sDL_GetTrayMenu
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
= Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_a75b79185593c812
foreign import ccall unsafe "hs_bindgen_a4e00099ee20fd23"
hs_bindgen_a4e00099ee20fd23_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_a4e00099ee20fd23
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_a4e00099ee20fd23 :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_a4e00099ee20fd23 =
\Ptr SDL_TrayEntry
x0 ->
(Ptr Void -> Ptr SDL_TrayMenu)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayMenu)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayMenu
FFIType (Ptr SDL_TrayMenu) -> Ptr SDL_TrayMenu
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_a4e00099ee20fd23_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_GetTraySubmenu
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
= Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_a4e00099ee20fd23
foreign import ccall unsafe "hs_bindgen_210fd2f6b416750d"
hs_bindgen_210fd2f6b416750d_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_210fd2f6b416750d
:: BG.Ptr SDL_TrayMenu
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (PtrConst.PtrConst SDL_TrayEntry))
hs_bindgen_210fd2f6b416750d :: Ptr SDL_TrayMenu -> Ptr CInt -> IO (Ptr (PtrConst SDL_TrayEntry))
hs_bindgen_210fd2f6b416750d =
\Ptr SDL_TrayMenu
x0 ->
\Ptr CInt
x1 ->
(Ptr Void -> Ptr (PtrConst SDL_TrayEntry))
-> IO (Ptr Void) -> IO (Ptr (PtrConst SDL_TrayEntry))
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr (PtrConst SDL_TrayEntry)
FFIType (Ptr (PtrConst SDL_TrayEntry))
-> Ptr (PtrConst SDL_TrayEntry)
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> Ptr Void -> IO (Ptr Void)
hs_bindgen_210fd2f6b416750d_base (Ptr SDL_TrayMenu -> FFIType (Ptr SDL_TrayMenu)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayMenu
x0) (Ptr CInt -> FFIType (Ptr CInt)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr CInt
x1))
sDL_GetTrayEntries
:: BG.Ptr SDL_TrayMenu
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (PtrConst.PtrConst SDL_TrayEntry))
sDL_GetTrayEntries :: Ptr SDL_TrayMenu -> Ptr CInt -> IO (Ptr (PtrConst SDL_TrayEntry))
sDL_GetTrayEntries = Ptr SDL_TrayMenu -> Ptr CInt -> IO (Ptr (PtrConst SDL_TrayEntry))
hs_bindgen_210fd2f6b416750d
foreign import ccall unsafe "hs_bindgen_6b3503beb8dd3ba3"
hs_bindgen_6b3503beb8dd3ba3_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_6b3503beb8dd3ba3
:: BG.Ptr SDL_TrayEntry
-> IO ()
hs_bindgen_6b3503beb8dd3ba3 :: Ptr SDL_TrayEntry -> IO ()
hs_bindgen_6b3503beb8dd3ba3 =
\Ptr SDL_TrayEntry
x0 ->
Ptr Void -> IO ()
hs_bindgen_6b3503beb8dd3ba3_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0)
sDL_RemoveTrayEntry
:: BG.Ptr SDL_TrayEntry
-> IO ()
sDL_RemoveTrayEntry :: Ptr SDL_TrayEntry -> IO ()
sDL_RemoveTrayEntry = Ptr SDL_TrayEntry -> IO ()
hs_bindgen_6b3503beb8dd3ba3
foreign import ccall unsafe "hs_bindgen_cc14c44dbb0c78cb"
hs_bindgen_cc14c44dbb0c78cb_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_cc14c44dbb0c78cb
:: BG.Ptr SDL_TrayMenu
-> BG.CInt
-> PtrConst.PtrConst BG.CChar
-> SDL_TrayEntryFlags
-> IO (BG.Ptr SDL_TrayEntry)
hs_bindgen_cc14c44dbb0c78cb :: Ptr SDL_TrayMenu
-> CInt
-> PtrConst CChar
-> SDL_TrayEntryFlags
-> IO (Ptr SDL_TrayEntry)
hs_bindgen_cc14c44dbb0c78cb =
\Ptr SDL_TrayMenu
x0 ->
\CInt
x1 ->
\PtrConst CChar
x2 ->
\SDL_TrayEntryFlags
x3 ->
(Ptr Void -> Ptr SDL_TrayEntry)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayEntry)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap
Ptr Void -> Ptr SDL_TrayEntry
FFIType (Ptr SDL_TrayEntry) -> Ptr SDL_TrayEntry
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType
( Ptr Void -> CInt -> Ptr Void -> Word32 -> IO (Ptr Void)
hs_bindgen_cc14c44dbb0c78cb_base
(Ptr SDL_TrayMenu -> FFIType (Ptr SDL_TrayMenu)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayMenu
x0)
(CInt -> FFIType CInt
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CInt
x1)
(PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x2)
(SDL_TrayEntryFlags -> FFIType SDL_TrayEntryFlags
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_TrayEntryFlags
x3)
)
sDL_InsertTrayEntryAt
:: BG.Ptr SDL_TrayMenu
-> BG.CInt
-> PtrConst.PtrConst BG.CChar
-> SDL_TrayEntryFlags
-> IO (BG.Ptr SDL_TrayEntry)
sDL_InsertTrayEntryAt :: Ptr SDL_TrayMenu
-> CInt
-> PtrConst CChar
-> SDL_TrayEntryFlags
-> IO (Ptr SDL_TrayEntry)
sDL_InsertTrayEntryAt = Ptr SDL_TrayMenu
-> CInt
-> PtrConst CChar
-> SDL_TrayEntryFlags
-> IO (Ptr SDL_TrayEntry)
hs_bindgen_cc14c44dbb0c78cb
foreign import ccall unsafe "hs_bindgen_504886286a699c39"
hs_bindgen_504886286a699c39_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_504886286a699c39
:: BG.Ptr SDL_TrayEntry
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_504886286a699c39 :: Ptr SDL_TrayEntry -> PtrConst CChar -> IO ()
hs_bindgen_504886286a699c39 =
\Ptr SDL_TrayEntry
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_504886286a699c39_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0) (PtrConst CChar -> FFIType (PtrConst CChar)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType PtrConst CChar
x1)
sDL_SetTrayEntryLabel
:: BG.Ptr SDL_TrayEntry
-> PtrConst.PtrConst BG.CChar
-> IO ()
sDL_SetTrayEntryLabel :: Ptr SDL_TrayEntry -> PtrConst CChar -> IO ()
sDL_SetTrayEntryLabel = Ptr SDL_TrayEntry -> PtrConst CChar -> IO ()
hs_bindgen_504886286a699c39
foreign import ccall unsafe "hs_bindgen_9759e7e644805c7d"
hs_bindgen_9759e7e644805c7d_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9759e7e644805c7d
:: BG.Ptr SDL_TrayEntry
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_9759e7e644805c7d :: Ptr SDL_TrayEntry -> IO (PtrConst CChar)
hs_bindgen_9759e7e644805c7d =
\Ptr SDL_TrayEntry
x0 ->
(Ptr Void -> PtrConst CChar)
-> IO (Ptr Void) -> IO (PtrConst CChar)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> PtrConst CChar
FFIType (PtrConst CChar) -> PtrConst CChar
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_9759e7e644805c7d_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_GetTrayEntryLabel
:: BG.Ptr SDL_TrayEntry
-> IO (PtrConst.PtrConst BG.CChar)
sDL_GetTrayEntryLabel :: Ptr SDL_TrayEntry -> IO (PtrConst CChar)
sDL_GetTrayEntryLabel = Ptr SDL_TrayEntry -> IO (PtrConst CChar)
hs_bindgen_9759e7e644805c7d
foreign import ccall unsafe "hs_bindgen_74cb41035d525059"
hs_bindgen_74cb41035d525059_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_74cb41035d525059
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
hs_bindgen_74cb41035d525059 :: Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_74cb41035d525059 =
\Ptr SDL_TrayEntry
x0 ->
\CBool
x1 ->
Ptr Void -> CBool -> IO ()
hs_bindgen_74cb41035d525059_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1)
sDL_SetTrayEntryChecked
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
sDL_SetTrayEntryChecked :: Ptr SDL_TrayEntry -> CBool -> IO ()
sDL_SetTrayEntryChecked = Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_74cb41035d525059
foreign import ccall unsafe "hs_bindgen_fe94492d1c67a601"
hs_bindgen_fe94492d1c67a601_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_fe94492d1c67a601
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
hs_bindgen_fe94492d1c67a601 :: Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_fe94492d1c67a601 =
\Ptr SDL_TrayEntry
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_fe94492d1c67a601_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_GetTrayEntryChecked
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
sDL_GetTrayEntryChecked :: Ptr SDL_TrayEntry -> IO CBool
sDL_GetTrayEntryChecked = Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_fe94492d1c67a601
foreign import ccall unsafe "hs_bindgen_5263a949bd152767"
hs_bindgen_5263a949bd152767_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_5263a949bd152767
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
hs_bindgen_5263a949bd152767 :: Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_5263a949bd152767 =
\Ptr SDL_TrayEntry
x0 ->
\CBool
x1 ->
Ptr Void -> CBool -> IO ()
hs_bindgen_5263a949bd152767_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0) (CBool -> FFIType CBool
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType CBool
x1)
sDL_SetTrayEntryEnabled
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
sDL_SetTrayEntryEnabled :: Ptr SDL_TrayEntry -> CBool -> IO ()
sDL_SetTrayEntryEnabled = Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_5263a949bd152767
foreign import ccall unsafe "hs_bindgen_76a35c1dee9b4197"
hs_bindgen_76a35c1dee9b4197_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_76a35c1dee9b4197
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
hs_bindgen_76a35c1dee9b4197 :: Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_76a35c1dee9b4197 =
\Ptr SDL_TrayEntry
x0 ->
(CBool -> CBool) -> IO CBool -> IO CBool
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap CBool -> CBool
FFIType CBool -> CBool
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO CBool
hs_bindgen_76a35c1dee9b4197_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_GetTrayEntryEnabled
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
sDL_GetTrayEntryEnabled :: Ptr SDL_TrayEntry -> IO CBool
sDL_GetTrayEntryEnabled = Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_76a35c1dee9b4197
foreign import ccall unsafe "hs_bindgen_3a82abfce11b4c94"
hs_bindgen_3a82abfce11b4c94_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_3a82abfce11b4c94
:: BG.Ptr SDL_TrayEntry
-> SDL_TrayCallback
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_3a82abfce11b4c94 :: Ptr SDL_TrayEntry -> SDL_TrayCallback -> Ptr Void -> IO ()
hs_bindgen_3a82abfce11b4c94 =
\Ptr SDL_TrayEntry
x0 ->
\SDL_TrayCallback
x1 ->
\Ptr Void
x2 ->
Ptr Void -> FunPtr Void -> Ptr Void -> IO ()
hs_bindgen_3a82abfce11b4c94_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0) (SDL_TrayCallback -> FFIType SDL_TrayCallback
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType SDL_TrayCallback
x1) (Ptr Void -> FFIType (Ptr Void)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr Void
x2)
sDL_SetTrayEntryCallback
:: BG.Ptr SDL_TrayEntry
-> SDL_TrayCallback
-> BG.Ptr BG.Void
-> IO ()
sDL_SetTrayEntryCallback :: Ptr SDL_TrayEntry -> SDL_TrayCallback -> Ptr Void -> IO ()
sDL_SetTrayEntryCallback =
Ptr SDL_TrayEntry -> SDL_TrayCallback -> Ptr Void -> IO ()
hs_bindgen_3a82abfce11b4c94
foreign import ccall unsafe "hs_bindgen_a8a4d1df90923df2"
hs_bindgen_a8a4d1df90923df2_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_a8a4d1df90923df2
:: BG.Ptr SDL_TrayEntry
-> IO ()
hs_bindgen_a8a4d1df90923df2 :: Ptr SDL_TrayEntry -> IO ()
hs_bindgen_a8a4d1df90923df2 =
\Ptr SDL_TrayEntry
x0 ->
Ptr Void -> IO ()
hs_bindgen_a8a4d1df90923df2_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0)
sDL_ClickTrayEntry
:: BG.Ptr SDL_TrayEntry
-> IO ()
sDL_ClickTrayEntry :: Ptr SDL_TrayEntry -> IO ()
sDL_ClickTrayEntry = Ptr SDL_TrayEntry -> IO ()
hs_bindgen_a8a4d1df90923df2
foreign import ccall unsafe "hs_bindgen_fe47cafa5c754a5a"
hs_bindgen_fe47cafa5c754a5a_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_fe47cafa5c754a5a
:: BG.Ptr SDL_Tray
-> IO ()
hs_bindgen_fe47cafa5c754a5a :: Ptr SDL_Tray -> IO ()
hs_bindgen_fe47cafa5c754a5a =
\Ptr SDL_Tray
x0 ->
Ptr Void -> IO ()
hs_bindgen_fe47cafa5c754a5a_base (Ptr SDL_Tray -> FFIType (Ptr SDL_Tray)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_Tray
x0)
sDL_DestroyTray
:: BG.Ptr SDL_Tray
-> IO ()
sDL_DestroyTray :: Ptr SDL_Tray -> IO ()
sDL_DestroyTray = Ptr SDL_Tray -> IO ()
hs_bindgen_fe47cafa5c754a5a
foreign import ccall unsafe "hs_bindgen_3e7aeb66ff2f2f10"
hs_bindgen_3e7aeb66ff2f2f10_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_3e7aeb66ff2f2f10
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_3e7aeb66ff2f2f10 :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_3e7aeb66ff2f2f10 =
\Ptr SDL_TrayEntry
x0 ->
(Ptr Void -> Ptr SDL_TrayMenu)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayMenu)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayMenu
FFIType (Ptr SDL_TrayMenu) -> Ptr SDL_TrayMenu
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_3e7aeb66ff2f2f10_base (Ptr SDL_TrayEntry -> FFIType (Ptr SDL_TrayEntry)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayEntry
x0))
sDL_GetTrayEntryParent
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
sDL_GetTrayEntryParent :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
sDL_GetTrayEntryParent = Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_3e7aeb66ff2f2f10
foreign import ccall unsafe "hs_bindgen_89d0a7d911ebcebd"
hs_bindgen_89d0a7d911ebcebd_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_89d0a7d911ebcebd
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_TrayEntry)
hs_bindgen_89d0a7d911ebcebd :: Ptr SDL_TrayMenu -> IO (Ptr SDL_TrayEntry)
hs_bindgen_89d0a7d911ebcebd =
\Ptr SDL_TrayMenu
x0 ->
(Ptr Void -> Ptr SDL_TrayEntry)
-> IO (Ptr Void) -> IO (Ptr SDL_TrayEntry)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_TrayEntry
FFIType (Ptr SDL_TrayEntry) -> Ptr SDL_TrayEntry
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_89d0a7d911ebcebd_base (Ptr SDL_TrayMenu -> FFIType (Ptr SDL_TrayMenu)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayMenu
x0))
sDL_GetTrayMenuParentEntry
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_TrayEntry)
=
Ptr SDL_TrayMenu -> IO (Ptr SDL_TrayEntry)
hs_bindgen_89d0a7d911ebcebd
foreign import ccall unsafe "hs_bindgen_48fcf0bd7a472bcb"
hs_bindgen_48fcf0bd7a472bcb_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_48fcf0bd7a472bcb
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_Tray)
hs_bindgen_48fcf0bd7a472bcb :: Ptr SDL_TrayMenu -> IO (Ptr SDL_Tray)
hs_bindgen_48fcf0bd7a472bcb =
\Ptr SDL_TrayMenu
x0 ->
(Ptr Void -> Ptr SDL_Tray) -> IO (Ptr Void) -> IO (Ptr SDL_Tray)
forall a b. (a -> b) -> IO a -> IO b
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
fmap Ptr Void -> Ptr SDL_Tray
FFIType (Ptr SDL_Tray) -> Ptr SDL_Tray
forall a. HasFFIType a => FFIType a -> a
BG.fromFFIType (Ptr Void -> IO (Ptr Void)
hs_bindgen_48fcf0bd7a472bcb_base (Ptr SDL_TrayMenu -> FFIType (Ptr SDL_TrayMenu)
forall a. HasFFIType a => a -> FFIType a
BG.toFFIType Ptr SDL_TrayMenu
x0))
sDL_GetTrayMenuParentTray
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_Tray)
=
Ptr SDL_TrayMenu -> IO (Ptr SDL_Tray)
hs_bindgen_48fcf0bd7a472bcb
foreign import ccall unsafe "hs_bindgen_03e94a19f107d107"
hs_bindgen_03e94a19f107d107_base
:: IO ()
hs_bindgen_03e94a19f107d107 :: IO ()
hs_bindgen_03e94a19f107d107 :: IO ()
hs_bindgen_03e94a19f107d107 =
IO ()
hs_bindgen_03e94a19f107d107_base
sDL_UpdateTrays :: IO ()
sDL_UpdateTrays :: IO ()
sDL_UpdateTrays = IO ()
hs_bindgen_03e94a19f107d107