]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/image.h
Add API declarations
[libs/gltk.git] / source / image.h
index 8b857f41c48ec051309584b2f3d629a6dd0f250e..77357561ead0a54fc147681e580bd67fa80c989c 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GLTK_IMAGE_H_
 
 #include <msp/gl/texture2d.h>
+#include "mspgltk_api.h"
 #include "widget.h"
 
 namespace Msp {
@@ -10,7 +11,7 @@ namespace GLtk {
 /**
 A widget for displaying images.
 */
-class Image: public Widget
+class MSPGLTK_API Image: public Widget
 {
 public:
        class Loader: public Msp::DataFile::DerivedObjectLoader<Image, Widget::Loader>