X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgraphics%2Fdevil%2Fdevilloader.h;h=87408132881780b27b68986cc5f7ab628e99cc1e;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hp=01c26b1ead1282351343fdeda60c559a14dbae90;hpb=054fca09f0bbd64fdbd6406a0643de938a9cd4fb;p=libs%2Fgui.git diff --git a/source/graphics/devil/devilloader.h b/source/graphics/devil/devilloader.h index 01c26b1..8740813 100644 --- a/source/graphics/devil/devilloader.h +++ b/source/graphics/devil/devilloader.h @@ -2,25 +2,26 @@ #define MSP_GRAPHICS_DEVILLOADER_H_ #include +#include 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_headers_(Image::Data &); - virtual void load_pixels_(Image::Data &); + void load_headers_(Image::Data &) override; + void load_pixels_(Image::Data &) override; }; } // namespace Graphics