NOISSUE make shared logic library ... shared
This commit is contained in:
@ -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();
|
||||
|
@ -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:
|
||||
|
@ -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.
|
||||
*/
|
||||
|
@ -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:
|
||||
|
Reference in New Issue
Block a user