]> 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 daab2a2bdc64b763575cc03886dfd11df9d52154..3cba0d5a56f358c7b13a4832698798efe4051b89 100644 (file)
@@ -12,8 +12,6 @@ private:
        IO::Base &io;
        unsigned id;
 
-       static Register<DevilLoader> reg;
-
 public:
        DevilLoader(IO::Seekable &);
        virtual ~DevilLoader();
@@ -21,7 +19,7 @@ public:
        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