]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/simplewindow.h
Add decorations for things which should be exported from the library
[libs/gui.git] / source / graphics / simplewindow.h
index f7bb0ce5ea30ef1d18ade5b1149e615789d922dd..26abd6acd33b20d87158708a9992495c1efdf4f3 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "display.h"
 #include "glcontext.h"
+#include "mspgui_api.h"
 #include "window.h"
 
 namespace Msp {
@@ -11,7 +12,7 @@ namespace Graphics {
 /**
 Helper class for SimpleWindow.
 */
-class SimpleWindowBase
+class MSPGUI_API SimpleWindowBase
 {
 protected:
        Display dpy;
@@ -23,7 +24,7 @@ protected:
 /**
 A simplified Window that encapsulates a Display.
 */
-class SimpleWindow: public SimpleWindowBase, public Window
+class MSPGUI_API SimpleWindow: public SimpleWindowBase, public Window
 {
 public:
        SimpleWindow(unsigned, unsigned, bool =false);
@@ -35,7 +36,7 @@ public:
 /**
 A SimpleWindow bundled with a GLContext.
 */
-class SimpleGLWindow: public SimpleWindow
+class MSPGUI_API SimpleGLWindow: public SimpleWindow
 {
 private:
        GLContext gl_ctx;