]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/glcontext.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / glcontext.h
index ef374c1038efc6da274d5b62b370656a4b3fe2f7..38c36b109d9bfc0f14b3dcbbb6240d68fd6ff203 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GRAPHICS_GLCONTEXT_H_
 
 #include <stdexcept>
+#include "mspgui_api.h"
 
 namespace Msp {
 namespace Graphics {
@@ -25,7 +26,7 @@ struct GLOptions
 };
 
 
-class unsupported_gl_mode: public std::runtime_error
+class MSPGUI_API unsupported_gl_mode: public std::runtime_error
 {
 public:
        unsupported_gl_mode(const GLOptions &);
@@ -35,7 +36,7 @@ private:
 };
 
 
-class GLContext
+class MSPGUI_API GLContext
 {
 private:
        struct Private;