]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/bmploader.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / bmploader.h
index db9af1db4b28405616cf5f64c8735e99cae97c74..9ae8f4e7c21bbd0d7a8312281c539170e87ec52f 100644 (file)
@@ -6,7 +6,7 @@
 namespace Msp {
 namespace Graphics {
 
-class BmpLoader: public RegisteredImageLoader<BmpLoader>
+class BmpLoader: public ImageLoader
 {
 private:
        IO::Base &io;
@@ -18,7 +18,7 @@ public:
        static unsigned get_signature_size() { return 2; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       virtual void load_(Image::Data &);
 };
 
 } // namespace Graphics