]> git.tdb.fi Git - libs/gui.git/blob - source/graphics/devil/devilloader.h
Change the ImageLoader API to use IO::Seekable
[libs/gui.git] / source / graphics / devil / devilloader.h
1 #ifndef MSP_GRAPHICS_DEVILLOADER_H_
2 #define MSP_GRAPHICS_DEVILLOADER_H_
3
4 #include <msp/graphics/imageloader.h>
5
6 namespace Msp {
7 namespace Graphics {
8
9 class DevilLoader: public ImageLoader
10 {
11 private:
12         IO::Base &io;
13         unsigned id;
14
15 public:
16         DevilLoader(IO::Seekable &);
17         virtual ~DevilLoader();
18
19         static bool detect(const std::string &);
20
21         virtual void load(Image::Data &);
22 };
23
24 } // namespace Graphics
25 } // namespace Msp
26
27 #endif