X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=src%2Fdevice.h;h=5081ccd572c92c6d0d38736b7cd7120e9fcbb95f;hb=79e12d94cc21232477796a4e76fc2ddb5d88f9dc;hp=158e51da1e325d8d72ab867d647ab24535b02670;hpb=c9c098c6a9363eb59f435eb195a4bc5b9098b1dd;p=guile-irrlicht.git diff --git a/src/device.h b/src/device.h index 158e51d..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_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_setWindowCaption (SCM wrapped_device, - SCM text); - - SCM - irr_yield (SCM wrapped_device); - -} +void +init_device (void); #endif