]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/devil/devilloader.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / devil / devilloader.h
index 42ac2b2559516acc1058a990134bd98c00314baf..87408132881780b27b68986cc5f7ab628e99cc1e 100644 (file)
@@ -2,24 +2,26 @@
 #define MSP_GRAPHICS_DEVILLOADER_H_
 
 #include <msp/graphics/imageloader.h>
+#include <msp/graphics/mspgui_api.h>
 
 namespace Msp {
 namespace Graphics {
 
-class DevilLoader: public ImageLoader
+class MSPGUI_API DevilLoader: public ImageLoader
 {
 private:
        IO::Base &io;
-       unsigned id;
+       unsigned id = 0;
 
 public:
        DevilLoader(IO::Seekable &);
-       virtual ~DevilLoader();
+       ~DevilLoader();
 
        static unsigned get_signature_size() { return 128; }
        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