X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=include%2FIrrlichtDevice.h;h=df717e759771957e86d4f62605d047eec04fd696;hb=bf35c1c5384d6ccae7b7690ee08c511d036ffaec;hp=b6a459e4b73c45cdec684530c80d13341b1cc639;hpb=26e0d2232734e893983975b68d3a760b147e8e8c;p=c-irrlicht.git diff --git a/include/IrrlichtDevice.h b/include/IrrlichtDevice.h index b6a459e..df717e7 100644 --- a/include/IrrlichtDevice.h +++ b/include/IrrlichtDevice.h @@ -22,16 +22,34 @@ #ifndef __C_IRRLICHT_DEVICE_H_INCLUDED__ #define __C_IRRLICHT_DEVICE_H_INCLUDED__ +#include "IGUIEnvironment.h" +#include "ISceneManager.h" +#include "IVideoDriver.h" + +typedef void irr_IrrlichtDevice; + #ifdef __cplusplus extern "C" { #endif - void* irr_IrrlichtDevice_getGUIEnvironment(void* device); - void* irr_IrrlichtDevice_getSceneManager(void* device); - void* irr_IrrlichtDevice_getVideoDriver(void* device); - void irr_IrrlichtDevice_setWindowCaption(void* device, const char* text); - int irr_IrrlichtDevice_run(void* device); - int irr_IrrlichtDevice_drop(void* device); + irr_gui_IGUIEnvironment* + irr_getGUIEnvironment(irr_IrrlichtDevice* device); + + irr_scene_ISceneManager* + irr_getSceneManager(irr_IrrlichtDevice* device); + + irr_video_IVideoDriver* + irr_getVideoDriver(irr_IrrlichtDevice* device); + + void + irr_setWindowCaption(irr_IrrlichtDevice* device, + const char* text); + + int + irr_run(irr_IrrlichtDevice* device); + + int + irr_drop(irr_IrrlichtDevice* device); #ifdef __cplusplus }