{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE NoFieldSelectors #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_HADDOCK prune #-}
module SDL3.Sys.Bindgen.Tray.Safe (
SDL3.Sys.Bindgen.Tray.Safe.sDL_CreateTray,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayIcon,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayTooltip,
SDL3.Sys.Bindgen.Tray.Safe.sDL_CreateTrayMenu,
SDL3.Sys.Bindgen.Tray.Safe.sDL_CreateTraySubmenu,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayMenu,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTraySubmenu,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayEntries,
SDL3.Sys.Bindgen.Tray.Safe.sDL_RemoveTrayEntry,
SDL3.Sys.Bindgen.Tray.Safe.sDL_InsertTrayEntryAt,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayEntryLabel,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayEntryLabel,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayEntryChecked,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayEntryChecked,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayEntryEnabled,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayEntryEnabled,
SDL3.Sys.Bindgen.Tray.Safe.sDL_SetTrayEntryCallback,
SDL3.Sys.Bindgen.Tray.Safe.sDL_ClickTrayEntry,
SDL3.Sys.Bindgen.Tray.Safe.sDL_DestroyTray,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayEntryParent,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayMenuParentEntry,
SDL3.Sys.Bindgen.Tray.Safe.sDL_GetTrayMenuParentTray,
SDL3.Sys.Bindgen.Tray.Safe.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_883df5f31028a1a4 ("
, " SDL_Surface *arg1,"
, " char const *arg2"
, ")"
, "{"
, " return (SDL_CreateTray)(arg1, arg2);"
, "}"
, "void hs_bindgen_e4467c5dfb0eefec ("
, " SDL_Tray *arg1,"
, " SDL_Surface *arg2"
, ")"
, "{"
, " (SDL_SetTrayIcon)(arg1, arg2);"
, "}"
, "void hs_bindgen_f0fbabccc349ab12 ("
, " SDL_Tray *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_SetTrayTooltip)(arg1, arg2);"
, "}"
, "SDL_TrayMenu *hs_bindgen_591a284511251aa4 ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " return (SDL_CreateTrayMenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_519964613c2d0dd2 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_CreateTraySubmenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_d00b06b7312eb4e3 ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenu)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_ac4f72f06dc56c8f ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTraySubmenu)(arg1);"
, "}"
, "SDL_TrayEntry const **hs_bindgen_db28f928b77b3b21 ("
, " SDL_TrayMenu *arg1,"
, " signed int *arg2"
, ")"
, "{"
, " return (SDL_GetTrayEntries)(arg1, arg2);"
, "}"
, "void hs_bindgen_760690f62725f41d ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " (SDL_RemoveTrayEntry)(arg1);"
, "}"
, "SDL_TrayEntry *hs_bindgen_97f828a3ddf4bda6 ("
, " SDL_TrayMenu *arg1,"
, " signed int arg2,"
, " char const *arg3,"
, " SDL_TrayEntryFlags arg4"
, ")"
, "{"
, " return (SDL_InsertTrayEntryAt)(arg1, arg2, arg3, arg4);"
, "}"
, "void hs_bindgen_d259c08f8b2fea97 ("
, " SDL_TrayEntry *arg1,"
, " char const *arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryLabel)(arg1, arg2);"
, "}"
, "char const *hs_bindgen_f42afcfe13e00a9d ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryLabel)(arg1);"
, "}"
, "void hs_bindgen_c732ae30d80c2bac ("
, " SDL_TrayEntry *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryChecked)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_9ab5ede401963c0b ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryChecked)(arg1);"
, "}"
, "void hs_bindgen_a82f265fc5763bf3 ("
, " SDL_TrayEntry *arg1,"
, " _Bool arg2"
, ")"
, "{"
, " (SDL_SetTrayEntryEnabled)(arg1, arg2);"
, "}"
, "_Bool hs_bindgen_102ba65c8464342f ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryEnabled)(arg1);"
, "}"
, "void hs_bindgen_94ff69ef9d4fdfe8 ("
, " SDL_TrayEntry *arg1,"
, " SDL_TrayCallback arg2,"
, " void *arg3"
, ")"
, "{"
, " (SDL_SetTrayEntryCallback)(arg1, arg2, arg3);"
, "}"
, "void hs_bindgen_0157d583c118c3cc ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " (SDL_ClickTrayEntry)(arg1);"
, "}"
, "void hs_bindgen_8b1a746817e6df61 ("
, " SDL_Tray *arg1"
, ")"
, "{"
, " (SDL_DestroyTray)(arg1);"
, "}"
, "SDL_TrayMenu *hs_bindgen_7ca22a5fb9c165d8 ("
, " SDL_TrayEntry *arg1"
, ")"
, "{"
, " return (SDL_GetTrayEntryParent)(arg1);"
, "}"
, "SDL_TrayEntry *hs_bindgen_6e7d37f626feacc8 ("
, " SDL_TrayMenu *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenuParentEntry)(arg1);"
, "}"
, "SDL_Tray *hs_bindgen_9e7d7b320d4c4ce1 ("
, " SDL_TrayMenu *arg1"
, ")"
, "{"
, " return (SDL_GetTrayMenuParentTray)(arg1);"
, "}"
, "void hs_bindgen_92bb76cd94576ed5 (void)"
, "{"
, " (SDL_UpdateTrays)();"
, "}"
]
)
)
foreign import ccall safe "hs_bindgen_883df5f31028a1a4"
hs_bindgen_883df5f31028a1a4_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_883df5f31028a1a4
:: BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> PtrConst.PtrConst BG.CChar
-> IO (BG.Ptr SDL_Tray)
hs_bindgen_883df5f31028a1a4 :: Ptr SDL_Surface -> PtrConst CChar -> IO (Ptr SDL_Tray)
hs_bindgen_883df5f31028a1a4 =
\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_883df5f31028a1a4_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_883df5f31028a1a4
foreign import ccall safe "hs_bindgen_e4467c5dfb0eefec"
hs_bindgen_e4467c5dfb0eefec_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_e4467c5dfb0eefec
:: BG.Ptr SDL_Tray
-> BG.Ptr SDL3.Sys.Bindgen.Surface.SDL_Surface
-> IO ()
hs_bindgen_e4467c5dfb0eefec :: Ptr SDL_Tray -> Ptr SDL_Surface -> IO ()
hs_bindgen_e4467c5dfb0eefec =
\Ptr SDL_Tray
x0 ->
\Ptr SDL_Surface
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_e4467c5dfb0eefec_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_e4467c5dfb0eefec
foreign import ccall safe "hs_bindgen_f0fbabccc349ab12"
hs_bindgen_f0fbabccc349ab12_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_f0fbabccc349ab12
:: BG.Ptr SDL_Tray
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_f0fbabccc349ab12 :: Ptr SDL_Tray -> PtrConst CChar -> IO ()
hs_bindgen_f0fbabccc349ab12 =
\Ptr SDL_Tray
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_f0fbabccc349ab12_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_f0fbabccc349ab12
foreign import ccall safe "hs_bindgen_591a284511251aa4"
hs_bindgen_591a284511251aa4_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_591a284511251aa4
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_591a284511251aa4 :: Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_591a284511251aa4 =
\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_591a284511251aa4_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_591a284511251aa4
foreign import ccall safe "hs_bindgen_519964613c2d0dd2"
hs_bindgen_519964613c2d0dd2_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_519964613c2d0dd2
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_519964613c2d0dd2 :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_519964613c2d0dd2 =
\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_519964613c2d0dd2_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_519964613c2d0dd2
foreign import ccall safe "hs_bindgen_d00b06b7312eb4e3"
hs_bindgen_d00b06b7312eb4e3_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_d00b06b7312eb4e3
:: BG.Ptr SDL_Tray
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_d00b06b7312eb4e3 :: Ptr SDL_Tray -> IO (Ptr SDL_TrayMenu)
hs_bindgen_d00b06b7312eb4e3 =
\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_d00b06b7312eb4e3_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_d00b06b7312eb4e3
foreign import ccall safe "hs_bindgen_ac4f72f06dc56c8f"
hs_bindgen_ac4f72f06dc56c8f_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_ac4f72f06dc56c8f
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_ac4f72f06dc56c8f :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_ac4f72f06dc56c8f =
\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_ac4f72f06dc56c8f_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_ac4f72f06dc56c8f
foreign import ccall safe "hs_bindgen_db28f928b77b3b21"
hs_bindgen_db28f928b77b3b21_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_db28f928b77b3b21
:: BG.Ptr SDL_TrayMenu
-> BG.Ptr BG.CInt
-> IO (BG.Ptr (PtrConst.PtrConst SDL_TrayEntry))
hs_bindgen_db28f928b77b3b21 :: Ptr SDL_TrayMenu -> Ptr CInt -> IO (Ptr (PtrConst SDL_TrayEntry))
hs_bindgen_db28f928b77b3b21 =
\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_db28f928b77b3b21_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_db28f928b77b3b21
foreign import ccall safe "hs_bindgen_760690f62725f41d"
hs_bindgen_760690f62725f41d_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_760690f62725f41d
:: BG.Ptr SDL_TrayEntry
-> IO ()
hs_bindgen_760690f62725f41d :: Ptr SDL_TrayEntry -> IO ()
hs_bindgen_760690f62725f41d =
\Ptr SDL_TrayEntry
x0 ->
Ptr Void -> IO ()
hs_bindgen_760690f62725f41d_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_760690f62725f41d
foreign import ccall safe "hs_bindgen_97f828a3ddf4bda6"
hs_bindgen_97f828a3ddf4bda6_base
:: BG.Ptr BG.Void
-> BG.CInt
-> BG.Ptr BG.Void
-> HsBindgen.Runtime.LibC.Word32
-> IO (BG.Ptr BG.Void)
hs_bindgen_97f828a3ddf4bda6
:: BG.Ptr SDL_TrayMenu
-> BG.CInt
-> PtrConst.PtrConst BG.CChar
-> SDL_TrayEntryFlags
-> IO (BG.Ptr SDL_TrayEntry)
hs_bindgen_97f828a3ddf4bda6 :: Ptr SDL_TrayMenu
-> CInt
-> PtrConst CChar
-> SDL_TrayEntryFlags
-> IO (Ptr SDL_TrayEntry)
hs_bindgen_97f828a3ddf4bda6 =
\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_97f828a3ddf4bda6_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_97f828a3ddf4bda6
foreign import ccall safe "hs_bindgen_d259c08f8b2fea97"
hs_bindgen_d259c08f8b2fea97_base
:: BG.Ptr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_d259c08f8b2fea97
:: BG.Ptr SDL_TrayEntry
-> PtrConst.PtrConst BG.CChar
-> IO ()
hs_bindgen_d259c08f8b2fea97 :: Ptr SDL_TrayEntry -> PtrConst CChar -> IO ()
hs_bindgen_d259c08f8b2fea97 =
\Ptr SDL_TrayEntry
x0 ->
\PtrConst CChar
x1 ->
Ptr Void -> Ptr Void -> IO ()
hs_bindgen_d259c08f8b2fea97_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_d259c08f8b2fea97
foreign import ccall safe "hs_bindgen_f42afcfe13e00a9d"
hs_bindgen_f42afcfe13e00a9d_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_f42afcfe13e00a9d
:: BG.Ptr SDL_TrayEntry
-> IO (PtrConst.PtrConst BG.CChar)
hs_bindgen_f42afcfe13e00a9d :: Ptr SDL_TrayEntry -> IO (PtrConst CChar)
hs_bindgen_f42afcfe13e00a9d =
\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_f42afcfe13e00a9d_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_f42afcfe13e00a9d
foreign import ccall safe "hs_bindgen_c732ae30d80c2bac"
hs_bindgen_c732ae30d80c2bac_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_c732ae30d80c2bac
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
hs_bindgen_c732ae30d80c2bac :: Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_c732ae30d80c2bac =
\Ptr SDL_TrayEntry
x0 ->
\CBool
x1 ->
Ptr Void -> CBool -> IO ()
hs_bindgen_c732ae30d80c2bac_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_c732ae30d80c2bac
foreign import ccall safe "hs_bindgen_9ab5ede401963c0b"
hs_bindgen_9ab5ede401963c0b_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_9ab5ede401963c0b
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
hs_bindgen_9ab5ede401963c0b :: Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_9ab5ede401963c0b =
\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_9ab5ede401963c0b_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_9ab5ede401963c0b
foreign import ccall safe "hs_bindgen_a82f265fc5763bf3"
hs_bindgen_a82f265fc5763bf3_base
:: BG.Ptr BG.Void
-> BG.CBool
-> IO ()
hs_bindgen_a82f265fc5763bf3
:: BG.Ptr SDL_TrayEntry
-> BG.CBool
-> IO ()
hs_bindgen_a82f265fc5763bf3 :: Ptr SDL_TrayEntry -> CBool -> IO ()
hs_bindgen_a82f265fc5763bf3 =
\Ptr SDL_TrayEntry
x0 ->
\CBool
x1 ->
Ptr Void -> CBool -> IO ()
hs_bindgen_a82f265fc5763bf3_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_a82f265fc5763bf3
foreign import ccall safe "hs_bindgen_102ba65c8464342f"
hs_bindgen_102ba65c8464342f_base
:: BG.Ptr BG.Void
-> IO BG.CBool
hs_bindgen_102ba65c8464342f
:: BG.Ptr SDL_TrayEntry
-> IO BG.CBool
hs_bindgen_102ba65c8464342f :: Ptr SDL_TrayEntry -> IO CBool
hs_bindgen_102ba65c8464342f =
\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_102ba65c8464342f_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_102ba65c8464342f
foreign import ccall safe "hs_bindgen_94ff69ef9d4fdfe8"
hs_bindgen_94ff69ef9d4fdfe8_base
:: BG.Ptr BG.Void
-> BG.FunPtr BG.Void
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_94ff69ef9d4fdfe8
:: BG.Ptr SDL_TrayEntry
-> SDL_TrayCallback
-> BG.Ptr BG.Void
-> IO ()
hs_bindgen_94ff69ef9d4fdfe8 :: Ptr SDL_TrayEntry -> SDL_TrayCallback -> Ptr Void -> IO ()
hs_bindgen_94ff69ef9d4fdfe8 =
\Ptr SDL_TrayEntry
x0 ->
\SDL_TrayCallback
x1 ->
\Ptr Void
x2 ->
Ptr Void -> FunPtr Void -> Ptr Void -> IO ()
hs_bindgen_94ff69ef9d4fdfe8_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_94ff69ef9d4fdfe8
foreign import ccall safe "hs_bindgen_0157d583c118c3cc"
hs_bindgen_0157d583c118c3cc_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_0157d583c118c3cc
:: BG.Ptr SDL_TrayEntry
-> IO ()
hs_bindgen_0157d583c118c3cc :: Ptr SDL_TrayEntry -> IO ()
hs_bindgen_0157d583c118c3cc =
\Ptr SDL_TrayEntry
x0 ->
Ptr Void -> IO ()
hs_bindgen_0157d583c118c3cc_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_0157d583c118c3cc
foreign import ccall safe "hs_bindgen_8b1a746817e6df61"
hs_bindgen_8b1a746817e6df61_base
:: BG.Ptr BG.Void
-> IO ()
hs_bindgen_8b1a746817e6df61
:: BG.Ptr SDL_Tray
-> IO ()
hs_bindgen_8b1a746817e6df61 :: Ptr SDL_Tray -> IO ()
hs_bindgen_8b1a746817e6df61 =
\Ptr SDL_Tray
x0 ->
Ptr Void -> IO ()
hs_bindgen_8b1a746817e6df61_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_8b1a746817e6df61
foreign import ccall safe "hs_bindgen_7ca22a5fb9c165d8"
hs_bindgen_7ca22a5fb9c165d8_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_7ca22a5fb9c165d8
:: BG.Ptr SDL_TrayEntry
-> IO (BG.Ptr SDL_TrayMenu)
hs_bindgen_7ca22a5fb9c165d8 :: Ptr SDL_TrayEntry -> IO (Ptr SDL_TrayMenu)
hs_bindgen_7ca22a5fb9c165d8 =
\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_7ca22a5fb9c165d8_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_7ca22a5fb9c165d8
foreign import ccall safe "hs_bindgen_6e7d37f626feacc8"
hs_bindgen_6e7d37f626feacc8_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_6e7d37f626feacc8
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_TrayEntry)
hs_bindgen_6e7d37f626feacc8 :: Ptr SDL_TrayMenu -> IO (Ptr SDL_TrayEntry)
hs_bindgen_6e7d37f626feacc8 =
\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_6e7d37f626feacc8_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_6e7d37f626feacc8
foreign import ccall safe "hs_bindgen_9e7d7b320d4c4ce1"
hs_bindgen_9e7d7b320d4c4ce1_base
:: BG.Ptr BG.Void
-> IO (BG.Ptr BG.Void)
hs_bindgen_9e7d7b320d4c4ce1
:: BG.Ptr SDL_TrayMenu
-> IO (BG.Ptr SDL_Tray)
hs_bindgen_9e7d7b320d4c4ce1 :: Ptr SDL_TrayMenu -> IO (Ptr SDL_Tray)
hs_bindgen_9e7d7b320d4c4ce1 =
\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_9e7d7b320d4c4ce1_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_9e7d7b320d4c4ce1
foreign import ccall safe "hs_bindgen_92bb76cd94576ed5"
hs_bindgen_92bb76cd94576ed5_base
:: IO ()
hs_bindgen_92bb76cd94576ed5 :: IO ()
hs_bindgen_92bb76cd94576ed5 :: IO ()
hs_bindgen_92bb76cd94576ed5 =
IO ()
hs_bindgen_92bb76cd94576ed5_base
sDL_UpdateTrays :: IO ()
sDL_UpdateTrays :: IO ()
sDL_UpdateTrays = IO ()
hs_bindgen_92bb76cd94576ed5