]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/devil/devilloader.h
Register image loaders more explicitly
[libs/gui.git] / source / graphics / devil / devilloader.h
index 3791bb2c0a519f4dd85ffe045eeb48f2f8e4e355..42ac2b2559516acc1058a990134bd98c00314baf 100644 (file)
@@ -10,13 +10,13 @@ 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 &);