module HGamer3D.Bindings.Ogre.ClassHG3DMessagePump where
import Foreign
import Foreign.Ptr
import Foreign.C
import HGamer3D.Data.HG3DClass
import HGamer3D.Data.Vector
import HGamer3D.Data.Colour
import HGamer3D.Data.Angle
import HGamer3D.Bindings.Ogre.Utils
import HGamer3D.Bindings.Ogre.ClassPtr
import HGamer3D.Bindings.Ogre.StructHG3DClass
new :: IO (HG3DClass)
new =
  alloca $ \a1' -> 
  new'_ a1' >>= \res ->
  peek  a1'>>= \a1'' -> 
  return (a1'')
delete :: HG3DClass -> IO ()
delete a1 =
  withHG3DClass a1 $ \a1' -> 
  delete'_ a1' >>= \res ->
  return ()
messagePump :: HG3DClass -> IO ()
messagePump a1 =
  withHG3DClass a1 $ \a1' -> 
  messagePump'_ a1' >>= \res ->
  return ()
eventsPending :: HG3DClass -> IO (Bool)
eventsPending a1 =
  withHG3DClass a1 $ \a1' -> 
  alloca $ \a2' -> 
  eventsPending'_ a1' a2' >>= \res ->
  peekBoolUtil  a2'>>= \a2'' -> 
  return (a2'')
getKeyUpEvent :: HG3DClass -> IO (Int)
getKeyUpEvent a1 =
  withHG3DClass a1 $ \a1' -> 
  alloca $ \a2' -> 
  getKeyUpEvent'_ a1' a2' >>= \res ->
  peekIntConv  a2'>>= \a2'' -> 
  return (a2'')
getKeyDownEvent :: HG3DClass -> IO (Int)
getKeyDownEvent a1 =
  withHG3DClass a1 $ \a1' -> 
  alloca $ \a2' -> 
  getKeyDownEvent'_ a1' a2' >>= \res ->
  peekIntConv  a2'>>= \a2'' -> 
  return (a2'')
getCharEvent :: HG3DClass -> IO (Int)
getCharEvent a1 =
  withHG3DClass a1 $ \a1' -> 
  alloca $ \a2' -> 
  getCharEvent'_ a1' a2' >>= \res ->
  peekIntConv  a2'>>= \a2'' -> 
  return (a2'')
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_construct"
  new'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_destruct"
  delete'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_messagePump"
  messagePump'_ :: ((HG3DClassPtr) -> (IO ()))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_eventsPending"
  eventsPending'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_getKeyUpEvent"
  getKeyUpEvent'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_getKeyDownEvent"
  getKeyDownEvent'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))
foreign import ccall safe "HGamer3D\\Bindings\\Ogre\\ClassHG3DMessagePump.chs.h ogre_hg3dmp_getCharEvent"
  getCharEvent'_ :: ((HG3DClassPtr) -> ((Ptr CInt) -> (IO ())))