X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgraphics%2Fjpeg%2Fjpegloader.h;h=a18d37e81bb10a8de2225ef8c686fa631576bda7;hb=917c43de100807f4397e36b66b1a748dbf44370e;hp=b93d5bcf128af55099d433a982b1e1bbc1c30130;hpb=0885a7e155653acbbc1b15eff590feabbb6f00d9;p=libs%2Fgui.git diff --git a/source/graphics/jpeg/jpegloader.h b/source/graphics/jpeg/jpegloader.h index b93d5bc..a18d37e 100644 --- a/source/graphics/jpeg/jpegloader.h +++ b/source/graphics/jpeg/jpegloader.h @@ -6,7 +6,7 @@ namespace Msp { namespace Graphics { -class JpegLoader: public RegisteredImageLoader +class JpegLoader: public ImageLoader { private: struct Private; @@ -20,7 +20,8 @@ public: static unsigned get_signature_size() { return 3; } static bool detect(const std::string &); - virtual void load(Image::Data &); + virtual void load_headers_(Image::Data &); + virtual void load_pixels_(Image::Data &); }; } // namespace Graphics