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/settings | |
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/settings')
-rw-r--r-- | logic/settings/INIFile.h | 4 | ||||
-rw-r--r-- | logic/settings/INISettingsObject.h | 4 | ||||
-rw-r--r-- | logic/settings/Setting.h | 8 | ||||
-rw-r--r-- | logic/settings/SettingsObject.h | 4 |
4 files changed, 14 insertions, 6 deletions
diff --git a/logic/settings/INIFile.h b/logic/settings/INIFile.h index f32c5591..5013eb2d 100644 --- a/logic/settings/INIFile.h +++ b/logic/settings/INIFile.h @@ -19,8 +19,10 @@ #include <QVariant> #include <QIODevice> +#include "multimc_logic_export.h" + // Sectionless INI parser (for instance config files) -class INIFile : public QMap<QString, QVariant> +class MULTIMC_LOGIC_EXPORT INIFile : public QMap<QString, QVariant> { public: explicit INIFile(); diff --git a/logic/settings/INISettingsObject.h b/logic/settings/INISettingsObject.h index a93eea78..426b62f5 100644 --- a/logic/settings/INISettingsObject.h +++ b/logic/settings/INISettingsObject.h @@ -21,10 +21,12 @@ #include "settings/SettingsObject.h" +#include "multimc_logic_export.h" + /*! * \brief A settings object that stores its settings in an INIFile. */ -class INISettingsObject : public SettingsObject +class MULTIMC_LOGIC_EXPORT INISettingsObject : public SettingsObject { Q_OBJECT public: diff --git a/logic/settings/Setting.h b/logic/settings/Setting.h index fd814795..6d53ac6d 100644 --- a/logic/settings/Setting.h +++ b/logic/settings/Setting.h @@ -20,21 +20,23 @@ #include <QStringList> #include <memory> +#include "multimc_logic_export.h" + class SettingsObject; /*! * */ -class Setting : public QObject +class MULTIMC_LOGIC_EXPORT Setting : public QObject { Q_OBJECT public: /** * Construct a Setting - * + * * Synonyms are all the possible names used in the settings object, in order of preference. * First synonym is the ID, which identifies the setting in MultiMC. - * + * * defVal is the default value that will be returned when the settings object * doesn't have any value for this setting. */ diff --git a/logic/settings/SettingsObject.h b/logic/settings/SettingsObject.h index 0f299c5d..82193903 100644 --- a/logic/settings/SettingsObject.h +++ b/logic/settings/SettingsObject.h @@ -21,6 +21,8 @@ #include <QVariant> #include <memory> +#include "multimc_logic_export.h" + class Setting; class SettingsObject; @@ -38,7 +40,7 @@ typedef std::shared_ptr<SettingsObject> SettingsObjectPtr; * * \sa Setting */ -class SettingsObject : public QObject +class MULTIMC_LOGIC_EXPORT SettingsObject : public QObject { Q_OBJECT public: |