]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/png/pngloader.h
Add some state checking to ImageLoader
[libs/gui.git] / source / graphics / png / pngloader.h
index a81c34c3c49811318ed4cd912b70a98a43c48780..21c1c72346d23c399dbb08b4a84686f4c0990f75 100644 (file)
@@ -17,9 +17,10 @@ public:
        PngLoader(IO::Base &, unsigned = 0);
        virtual ~PngLoader();
 
+       static unsigned get_signature_size() { return 8; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       virtual void load_(Image::Data &);
 };
 
 } // namespace Graphics