X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fjpeg%2Fjpegloader.h;h=88dc00c85e519d9b7c2c69e16ec774a956c18e8f;hb=6222d13e2790bdaa1013444f1221841397834cdd;hp=04e891791564c9786ee80e3dc52d55bc303872f8;hpb=d3bc6c9c2cfaaedaabfd4b5b7bf4e1da2de51331;p=libs%2Fgui.git diff --git a/source/graphics/jpeg/jpegloader.h b/source/graphics/jpeg/jpegloader.h index 04e8917..88dc00c 100644 --- a/source/graphics/jpeg/jpegloader.h +++ b/source/graphics/jpeg/jpegloader.h @@ -11,16 +11,17 @@ class JpegLoader: public ImageLoader private: struct Private; - Private *priv; + Private *priv = nullptr; public: JpegLoader(IO::Seekable &); - virtual ~JpegLoader(); + ~JpegLoader(); static unsigned get_signature_size() { return 3; } 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