]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/devil/devilloader.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / devil / devilloader.h
index 3791bb2c0a519f4dd85ffe045eeb48f2f8e4e355..3cba0d5a56f358c7b13a4832698798efe4051b89 100644 (file)
@@ -10,16 +10,16 @@ class DevilLoader: public ImageLoader
 {
 private:
        IO::Base &io;
-       std::string signature;
        unsigned id;
 
 public:
-       DevilLoader(IO::Base &, const std::string &);
+       DevilLoader(IO::Seekable &);
        virtual ~DevilLoader();
 
+       static unsigned get_signature_size() { return 128; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       virtual void load_(Image::Data &);
 };
 
 } // namespace Graphics