]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/png/pngloader.h
Use the override specifier where appropriate
[libs/gui.git] / source / graphics / png / pngloader.h
index a81c34c3c49811318ed4cd912b70a98a43c48780..8023b019f7f17dfbbf9944aa165d50f312b73f37 100644 (file)
@@ -15,11 +15,13 @@ private:
 
 public:
        PngLoader(IO::Base &, unsigned = 0);
-       virtual ~PngLoader();
+       ~PngLoader();
 
+       static unsigned get_signature_size() { return 8; }
        static bool detect(const std::string &);
 
-       virtual void load(Image::Data &);
+       void load_headers_(Image::Data &) override;
+       void load_pixels_(Image::Data &) override;
 };
 
 } // namespace Graphics