X-Git-Url: http://git.tdb.fi/?p=libs%2Fgui.git;a=blobdiff_plain;f=source%2Fgraphics%2Fvideomode.h;fp=source%2Fgraphics%2Fvideomode.h;h=ea69e1b8fc7dfd42545463216f33928695da6d1e;hp=c527ed75de9d75b2d42b45a8635f87ee7c854be9;hb=d7686e3867e3c68cec0d3767a21f9d2408383085;hpb=479298192e3e5b71a402f79520c90372a4c4b504 diff --git a/source/graphics/videomode.h b/source/graphics/videomode.h index c527ed7..ea69e1b 100644 --- a/source/graphics/videomode.h +++ b/source/graphics/videomode.h @@ -2,6 +2,7 @@ #define MSP_GRAPHICS_VIDEOMODE_H_ #include +#include "mspgui_api.h" namespace Msp { namespace Graphics { @@ -9,7 +10,7 @@ namespace Graphics { struct Monitor; struct VideoMode; -class unsupported_video_mode: public std::runtime_error +class MSPGUI_API unsupported_video_mode: public std::runtime_error { public: unsupported_video_mode(const VideoMode &); @@ -25,7 +26,7 @@ enum VideoRotation ROTATE_INVERTED }; -struct VideoMode +struct MSPGUI_API VideoMode { unsigned index = 0; const Monitor *monitor = nullptr;