]> git.tdb.fi Git - libs/game.git/blobdiff - source/game/entity.h
Decorate things which constitute the public API of the library
[libs/game.git] / source / game / entity.h
index 8dc5139558abeba8a676e6fdac67747c53e26df3..e6d1cf940cd8da44783976a29fd1ce407cf01770 100644 (file)
@@ -2,6 +2,7 @@
 #define MSP_GAME_ENTITY_H_
 
 #include "handle.h"
+#include "mspgame_api.h"
 #include "owned.h"
 
 namespace Msp::Game {
@@ -11,13 +12,13 @@ class Stage;
 class Transform;
 struct TransformValues;
 
-class hierarchy_error: public std::logic_error
+class MSPGAME_API hierarchy_error: public std::logic_error
 {
 public:
        hierarchy_error(): std::logic_error("hierarchy error") { }
 };
 
-class Entity
+class MSPGAME_API Entity
 {
 public:
        enum TransformTag { NO_TRANSFORM };