]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/reflection.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / reflection.h
index 6d8535dec003e5d8d7ef3449ecc3ca01dea4dbaf..7b75541f5c65bdbb8ce65dd95b67f259cc25af22 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 #include <typeindex>
 #include <vector>
+#include "mspgame_api.h"
 
 namespace Msp::Game {
 namespace Reflection {
@@ -40,7 +41,7 @@ public:
 };
 
 
-class ClassBase
+class MSPGAME_API ClassBase
 {
 protected:
        Reflector &reflector;
@@ -85,7 +86,7 @@ private:
 };
 
 
-class Reflector
+class MSPGAME_API Reflector
 {
 private:
        std::vector<std::unique_ptr<ClassBase>> classes;