diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-09-05 18:46:57 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-09-05 18:46:57 +0200 |
commit | 23d0bd8edde6aadfaa282215b5f143ad16210438 (patch) | |
tree | a14d3f47b51716fb784cb426eedd0a2e2d756b4f /logic/resources/Resource.h | |
parent | cd108fd02975eac3a3fed2fde26c58de5cbdaf1c (diff) | |
download | PrismLauncher-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.gz PrismLauncher-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.bz2 PrismLauncher-23d0bd8edde6aadfaa282215b5f143ad16210438.zip |
NOISSUE make shared logic library ... shared
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); |