diff options
Diffstat (limited to 'logic/resources/Resource.h')
-rw-r--r-- | logic/resources/Resource.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/logic/resources/Resource.h b/logic/resources/Resource.h index 40a6d871..63e97b88 100644 --- a/logic/resources/Resource.h +++ b/logic/resources/Resource.h @@ -9,6 +9,8 @@ #include "ResourceObserver.h" #include "TypeMagic.h" +#include "multimc_logic_export.h" + class ResourceHandler; /** Frontend class for resources @@ -27,7 +29,7 @@ class ResourceHandler; * * @note Always pass resource around using Resource::Ptr! Copy and move constructors are disabled for a reason. */ -class Resource : public std::enable_shared_from_this<Resource> +class MULTIMC_LOGIC_EXPORT Resource : public std::enable_shared_from_this<Resource> { // only allow creation from Resource::create and disallow passing around non-pointers explicit Resource(const QString &resource); |