X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fimageloader.h;fp=source%2Fgraphics%2Fimageloader.h;h=345068cdc34a36bf41795f7a88059facd6c40516;hp=64a741089d957d95d1bfc9574ae9efc214f78bb3;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hpb=479298192e3e5b71a402f79520c90372a4c4b504 diff --git a/source/graphics/imageloader.h b/source/graphics/imageloader.h index 64a7410..345068c 100644 --- a/source/graphics/imageloader.h +++ b/source/graphics/imageloader.h @@ -2,24 +2,25 @@ #define MSP_GRAPHICS_IMAGELOADER_H_ #include "image.h" +#include "mspgui_api.h" namespace Msp { namespace Graphics { -class unsupported_image_format: public std::runtime_error +class MSPGUI_API unsupported_image_format: public std::runtime_error { public: unsupported_image_format(const std::string &w): std::runtime_error(w) { } }; -class bad_image_data: public std::runtime_error +class MSPGUI_API bad_image_data: public std::runtime_error { public: bad_image_data(const std::string &w): std::runtime_error(w) { } }; -class ImageLoader +class MSPGUI_API ImageLoader { public: enum State