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/tools | |
parent | cd108fd02975eac3a3fed2fde26c58de5cbdaf1c (diff) | |
download | MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.gz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.lz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.tar.xz MultiMC-23d0bd8edde6aadfaa282215b5f143ad16210438.zip |
NOISSUE make shared logic library ... shared
Diffstat (limited to 'logic/tools')
-rw-r--r-- | logic/tools/BaseExternalTool.h | 10 | ||||
-rw-r--r-- | logic/tools/BaseProfiler.h | 6 | ||||
-rw-r--r-- | logic/tools/JProfiler.h | 4 | ||||
-rw-r--r-- | logic/tools/JVisualVM.h | 4 | ||||
-rw-r--r-- | logic/tools/MCEditTool.h | 6 |
5 files changed, 20 insertions, 10 deletions
diff --git a/logic/tools/BaseExternalTool.h b/logic/tools/BaseExternalTool.h index be23036d..fe1b5dc6 100644 --- a/logic/tools/BaseExternalTool.h +++ b/logic/tools/BaseExternalTool.h @@ -3,11 +3,13 @@ #include <QObject> #include <BaseInstance.h> +#include "multimc_logic_export.h" + class BaseInstance; class SettingsObject; class QProcess; -class BaseExternalTool : public QObject +class MULTIMC_LOGIC_EXPORT BaseExternalTool : public QObject { Q_OBJECT public: @@ -19,7 +21,7 @@ protected: SettingsObjectPtr globalSettings; }; -class BaseDetachedTool : public BaseExternalTool +class MULTIMC_LOGIC_EXPORT BaseDetachedTool : public BaseExternalTool { Q_OBJECT public: @@ -33,7 +35,7 @@ protected: virtual void runImpl() = 0; }; -class BaseExternalToolFactory +class MULTIMC_LOGIC_EXPORT BaseExternalToolFactory { public: virtual ~BaseExternalToolFactory(); @@ -51,7 +53,7 @@ protected: SettingsObjectPtr globalSettings; }; -class BaseDetachedToolFactory : public BaseExternalToolFactory +class MULTIMC_LOGIC_EXPORT BaseDetachedToolFactory : public BaseExternalToolFactory { public: virtual BaseDetachedTool *createDetachedTool(InstancePtr instance, QObject *parent = 0); diff --git a/logic/tools/BaseProfiler.h b/logic/tools/BaseProfiler.h index 5191f7b8..3340b7e4 100644 --- a/logic/tools/BaseProfiler.h +++ b/logic/tools/BaseProfiler.h @@ -2,12 +2,14 @@ #include "BaseExternalTool.h" +#include "multimc_logic_export.h" + class BaseInstance; class SettingsObject; class LaunchTask; class QProcess; -class BaseProfiler : public BaseExternalTool +class MULTIMC_LOGIC_EXPORT BaseProfiler : public BaseExternalTool { Q_OBJECT public: @@ -29,7 +31,7 @@ signals: void abortLaunch(const QString &message); }; -class BaseProfilerFactory : public BaseExternalToolFactory +class MULTIMC_LOGIC_EXPORT BaseProfilerFactory : public BaseExternalToolFactory { public: virtual BaseProfiler *createProfiler(InstancePtr instance, QObject *parent = 0); diff --git a/logic/tools/JProfiler.h b/logic/tools/JProfiler.h index b5440b0b..d658d6c2 100644 --- a/logic/tools/JProfiler.h +++ b/logic/tools/JProfiler.h @@ -2,7 +2,9 @@ #include "BaseProfiler.h" -class JProfilerFactory : public BaseProfilerFactory +#include "multimc_logic_export.h" + +class MULTIMC_LOGIC_EXPORT JProfilerFactory : public BaseProfilerFactory { public: QString name() const override { return "JProfiler"; } diff --git a/logic/tools/JVisualVM.h b/logic/tools/JVisualVM.h index 45de2618..0674da13 100644 --- a/logic/tools/JVisualVM.h +++ b/logic/tools/JVisualVM.h @@ -2,7 +2,9 @@ #include "BaseProfiler.h" -class JVisualVMFactory : public BaseProfilerFactory +#include "multimc_logic_export.h" + +class MULTIMC_LOGIC_EXPORT JVisualVMFactory : public BaseProfilerFactory { public: QString name() const override { return "JVisualVM"; } diff --git a/logic/tools/MCEditTool.h b/logic/tools/MCEditTool.h index bd40f02d..c287f1ea 100644 --- a/logic/tools/MCEditTool.h +++ b/logic/tools/MCEditTool.h @@ -2,7 +2,9 @@ #include "BaseExternalTool.h" -class MCEditTool : public BaseDetachedTool +#include "multimc_logic_export.h" + +class MULTIMC_LOGIC_EXPORT MCEditTool : public BaseDetachedTool { Q_OBJECT public: @@ -13,7 +15,7 @@ protected: void runImpl() override; }; -class MCEditFactory : public BaseDetachedToolFactory +class MULTIMC_LOGIC_EXPORT MCEditFactory : public BaseDetachedToolFactory { public: QString name() const override { return "MCEdit"; } |