diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-12-28 05:47:11 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-12-28 05:47:11 +0100 |
commit | bd2843952a234a8b748f150f71613aff1df6900b (patch) | |
tree | dea4981cca1c839a36cccf07db0ef3c4fa246f4f /logic/Json.h | |
parent | 5402acb3c6cf9b63c9df69ee463cae02259dfdef (diff) | |
download | MultiMC-bd2843952a234a8b748f150f71613aff1df6900b.tar MultiMC-bd2843952a234a8b748f150f71613aff1df6900b.tar.gz MultiMC-bd2843952a234a8b748f150f71613aff1df6900b.tar.lz MultiMC-bd2843952a234a8b748f150f71613aff1df6900b.tar.xz MultiMC-bd2843952a234a8b748f150f71613aff1df6900b.zip |
NOISSUE export more stuff from Json
Diffstat (limited to 'logic/Json.h')
-rw-r--r-- | logic/Json.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/logic/Json.h b/logic/Json.h index 5d3186ce..d13230b8 100644 --- a/logic/Json.h +++ b/logic/Json.h @@ -111,31 +111,31 @@ template <typename T> T requireIsType(const QJsonValue &value, const QString &what = "Value"); /// @throw JsonException -template<> double requireIsType<double>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT double requireIsType<double>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> bool requireIsType<bool>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT bool requireIsType<bool>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> int requireIsType<int>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT int requireIsType<int>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QJsonObject requireIsType<QJsonObject>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QJsonObject requireIsType<QJsonObject>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QJsonArray requireIsType<QJsonArray>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QJsonArray requireIsType<QJsonArray>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QJsonValue requireIsType<QJsonValue>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QJsonValue requireIsType<QJsonValue>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QByteArray requireIsType<QByteArray>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QByteArray requireIsType<QByteArray>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QDateTime requireIsType<QDateTime>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QDateTime requireIsType<QDateTime>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QVariant requireIsType<QVariant>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QVariant requireIsType<QVariant>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QString requireIsType<QString>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QString requireIsType<QString>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QUuid requireIsType<QUuid>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QUuid requireIsType<QUuid>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QDir requireIsType<QDir>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QDir requireIsType<QDir>(const QJsonValue &value, const QString &what); /// @throw JsonException -template<> QUrl requireIsType<QUrl>(const QJsonValue &value, const QString &what); +template<> MULTIMC_LOGIC_EXPORT QUrl requireIsType<QUrl>(const QJsonValue &value, const QString &what); // the following functions are higher level functions, that make use of the above functions for // type conversion |