/* Irrlicht Library Wrapper Created by: Nathan Adams Copyright (C) 2008 This software is licensed under the GNU/GPL. This software may not be used for commerical purposes. */ #ifndef IRRLIBBASE_H #define IRRLIBBASE_H /* We should include some basic functions */ #include /* include strings */ #include /* We have to include Irrlichts libs */ #include class IrrLibBase { protected: irr::video::IVideoDriver* driver; irr::scene::ISceneManager* smgr; irr::IrrlichtDevice *device; public: //template std::string to_string( const type & value); irr::core::dimension2d irrpixels; void IrrLibBase::SetDriver(irr::video::IVideoDriver* driver); void IrrLibBase::SetSmgr(irr::scene::ISceneManager* smgr); void SetDevice(irr::IrrlichtDevice *device); std::string int_to_string (int t); std::string stringw_to_stdstring(irr::core::stringw sw); irr::core::stringw stdstring_to_stringw(std::string ss); std::string wchar_to_stdstring (const wchar_t* wc); //irr::core::stringw int_to_stringw(int t); void init(); }; #endif