]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/simplewindow.h
Convert empty default constructors and destructors to defaulted
[libs/gui.git] / source / graphics / simplewindow.h
index f7bb0ce5ea30ef1d18ade5b1149e615789d922dd..c4fc3cfef8f47e99c4e6dfbd09567de97ad9b4e3 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "display.h"
 #include "glcontext.h"
+#include "mspgui_api.h"
 #include "window.h"
 
 namespace Msp {
@@ -11,19 +12,19 @@ namespace Graphics {
 /**
 Helper class for SimpleWindow.
 */
-class SimpleWindowBase
+class MSPGUI_API SimpleWindowBase
 {
 protected:
        Display dpy;
 
-       SimpleWindowBase() { }
+       SimpleWindowBase() = default;
 };
 
 
 /**
 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;