diff options
Diffstat (limited to 'api/logic/Json.h')
-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"); |