]> 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 e94a31b4e7dfd6fad0f3753439aa287a99313643..3cba0d5a56f358c7b13a4832698798efe4051b89 100644 (file)
@@ -6,7 +6,7 @@
 namespace Msp {
 namespace Graphics {
 
-class DevilLoader: public RegisteredImageLoader<DevilLoader>
+class DevilLoader: public ImageLoader
 {
 private:
        IO::Base &io;
@@ -19,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