]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/quartz/quartzloader.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / quartz / quartzloader.h
index 963e45c4c7ba0e89a1bb7df879c08e0e76e45f08..cf4a4479968eb5622576b0dd48605b5977a05beb 100644 (file)
@@ -6,7 +6,7 @@
 namespace Msp {
 namespace Graphics {
 
-class QuartzLoader: public RegisteredImageLoader<QuartzLoader>
+class QuartzLoader: public ImageLoader
 {
 private:
        struct Private;
@@ -22,7 +22,7 @@ public:
        static unsigned get_signature_size() { return 12; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       virtual void load_(Image::Data &);
 };
 
 } // namespace Graphics