00001 #ifndef __SDL_SPRITELOADERSDLI_H__ 00002 #define __SDL_SPRITELOADERSDLI_H__ 00003 00004 #ifndef DOXYGEN_IGNORE_TAG 00005 00026 #endif 00027 00028 #include "../../SpriteLoader.h" 00029 00030 #include <string> 00031 00032 namespace NE 00033 { 00034 class Sprite; 00035 00036 class SDL_SpriteLoaderSDLI : public SpriteLoader 00037 { 00038 static const int JPG = 0x00000001; 00039 static const int PNG = 0x00000002; 00040 static const int TIF = 0x00000004; 00041 00042 private: 00043 00044 SDL_SpriteLoaderSDLI(const int flags); 00045 ~SDL_SpriteLoaderSDLI(void); 00046 00047 protected: 00048 Sprite* loadSprite(const std::string& fileName); 00049 00050 friend class SDL_Engine; 00051 }; 00052 } 00053 00058 #endif