diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-06 04:29:12 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-06 04:29:12 +0100 |
commit | bc753859b5ab5d1402940024c0478548165b57f8 (patch) | |
tree | 4d067325767b6100f1483115e5547a80ef14a4da /api | |
parent | 13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (diff) | |
download | MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.gz MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.lz MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.tar.xz MultiMC-bc753859b5ab5d1402940024c0478548165b57f8.zip |
GH-378 add basic custom theme support
Files you can customize are created in themes/custom/
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/Json.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/api/logic/Json.h b/api/logic/Json.h index 2cb60f0e..e59b25de 100644 --- a/api/logic/Json.h +++ b/api/logic/Json.h @@ -23,16 +23,16 @@ public: }; /// @throw FileSystemException -void write(const QJsonDocument &doc, const QString &filename); +MULTIMC_LOGIC_EXPORT void write(const QJsonDocument &doc, const QString &filename); /// @throw FileSystemException -void write(const QJsonObject &object, const QString &filename); +MULTIMC_LOGIC_EXPORT void write(const QJsonObject &object, const QString &filename); /// @throw FileSystemException -void write(const QJsonArray &array, const QString &filename); +MULTIMC_LOGIC_EXPORT void write(const QJsonArray &array, const QString &filename); -QByteArray toBinary(const QJsonObject &obj); -QByteArray toBinary(const QJsonArray &array); -QByteArray toText(const QJsonObject &obj); -QByteArray toText(const QJsonArray &array); +MULTIMC_LOGIC_EXPORT QByteArray toBinary(const QJsonObject &obj); +MULTIMC_LOGIC_EXPORT QByteArray toBinary(const QJsonArray &array); +MULTIMC_LOGIC_EXPORT QByteArray toText(const QJsonObject &obj); +MULTIMC_LOGIC_EXPORT QByteArray toText(const QJsonArray &array); /// @throw JsonException MULTIMC_LOGIC_EXPORT QJsonDocument requireDocument(const QByteArray &data, const QString &what = "Document"); |