]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/jpeg/jpegloader.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / jpeg / jpegloader.h
index d45e599825abd150f10cce35644a2335bbda93e6..bf902d64c5b9b90f0ef95d241c6f4a7f7e28efde 100644 (file)
@@ -13,8 +13,6 @@ private:
 
        Private *priv;
 
-       static Register<JpegLoader> reg;
-
 public:
        JpegLoader(IO::Seekable &);
        virtual ~JpegLoader();
@@ -22,7 +20,7 @@ public:
        static unsigned get_signature_size() { return 3; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       virtual void load_(Image::Data &);
 };
 
 } // namespace Graphics