]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / videomode.h
index c527ed75de9d75b2d42b45a8635f87ee7c854be9..ea69e1b8fc7dfd42545463216f33928695da6d1e 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GRAPHICS_VIDEOMODE_H_
 
 #include <stdexcept>
+#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;