]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/jpeg/jpegloader.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / jpeg / jpegloader.h
index a18d37e81bb10a8de2225ef8c686fa631576bda7..765183af1b4ca737e7c075f814f3c2b4dabec04d 100644 (file)
@@ -2,26 +2,27 @@
 #define MSP_GRAPHICS_JPEGLOADER_H_
 
 #include <msp/graphics/imageloader.h>
+#include <msp/graphics/mspgui_api.h>
 
 namespace Msp {
 namespace Graphics {
 
-class JpegLoader: public ImageLoader
+class MSPGUI_API 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_headers_(Image::Data &);
-       virtual void load_pixels_(Image::Data &);
+       void load_headers_(Image::Data &) override;
+       void load_pixels_(Image::Data &) override;
 };
 
 } // namespace Graphics