X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fdevice.h;h=5081ccd572c92c6d0d38736b7cd7120e9fcbb95f;hb=3bb58c2b45af12c0f9c9eac648e67ac6fa90e104;hp=8bfb217805714b7c24345a27e7d3a9c365662a8d;hpb=564416a9178fd8cef21364c2d921af6c8166115d;p=guile-irrlicht.git diff --git a/src/device.h b/src/device.h index 8bfb217..5081ccd 100644 --- a/src/device.h +++ b/src/device.h @@ -22,51 +22,7 @@ #ifndef __GUILE_IRRLICHT_DEVICE_H_INCLUDED__ #define __GUILE_IRRLICHT_DEVICE_H_INCLUDED__ -#include -#include -#include "wrapped.h" - -extern "C" { - - void - init_device (void); - - DECLARE_WRAPPED_TYPE (irr::IrrlichtDevice*, init_device_type, - device_p, wrap_device, unwrap_device); - - SCM - irr_createDevice (SCM device_type, - SCM window_size, - SCM bits, - SCM fullscreen, - SCM stencilbuffer, - SCM vsync, - SCM receiver); - - SCM - irr_IrrlichtDevice_setWindowCaption (SCM wrapped_device, - SCM text); - - SCM - irr_getTimer (SCM wrapped_device); - - SCM - irr_isWindowActive (SCM wrapped_device); - - SCM - irr_run (SCM wrapped_device); - - SCM - irr_setEventReceiver (SCM wrapped_device, - SCM receiver); - - SCM - irr_setResizable (SCM wrapped_device, - SCM resize); - - SCM - irr_yield (SCM wrapped_device); - -} +void +init_device (void); #endif