]> git.jsancho.org Git - guile-irrlicht.git/blobdiff - src/device.h
Some doc
[guile-irrlicht.git] / src / device.h
index 3a082bee417407803af81d3a30f6c343927b52d3..5081ccd572c92c6d0d38736b7cd7120e9fcbb95f 100644 (file)
 #ifndef __GUILE_IRRLICHT_DEVICE_H_INCLUDED__
 #define __GUILE_IRRLICHT_DEVICE_H_INCLUDED__
 
-#include <irrlicht/irrlicht.h>
-#include <libguile.h>
-#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_getVideoDriver (SCM device);
-
-  SCM
-  irr_IrrlichtDevice_setWindowCaption (SCM 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