X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fjpeg%2Fjpegloader.h;h=765183af1b4ca737e7c075f814f3c2b4dabec04d;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hp=d45e599825abd150f10cce35644a2335bbda93e6;hpb=0a7b21172f7124439171e3921a12952a060c39fc;p=libs%2Fgui.git diff --git a/source/graphics/jpeg/jpegloader.h b/source/graphics/jpeg/jpegloader.h index d45e599..765183a 100644 --- a/source/graphics/jpeg/jpegloader.h +++ b/source/graphics/jpeg/jpegloader.h @@ -2,27 +2,27 @@ #define MSP_GRAPHICS_JPEGLOADER_H_ #include +#include namespace Msp { namespace Graphics { -class JpegLoader: public ImageLoader +class MSPGUI_API JpegLoader: public ImageLoader { private: struct Private; - Private *priv; - - static Register reg; + 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