]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/meshsource.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / meshsource.h
index 74ec78120d43a0a17d2251174d5a13ed7c980ac2..dfc6509844c4f749dcfa4600487bf08d5b5cbd32 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <msp/datafile/objectloader.h>
 #include "component.h"
+#include "mspgame_api.h"
 
 namespace Msp::Game {
 
@@ -23,7 +24,7 @@ struct MeshSourceSetup
        std::string object_name;
 };
 
-class MeshSource: public Component
+class MSPGAME_API MeshSource: public Component
 {
 public:
        using Setup = MeshSourceSetup;