diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-21 22:59:17 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-07-21 22:59:17 +0900 |
commit | 22b14860e6b2bda990a05167ae61d8d7f24a2427 (patch) | |
tree | 70e0b47a8460af0ee2b8ab9007977178ab196dd6 /lib/application-service | |
parent | d3f1f39dafc87ce5b4654ac2a9b21df53dad1a4b (diff) | |
download | libquotient-22b14860e6b2bda990a05167ae61d8d7f24a2427.tar.gz libquotient-22b14860e6b2bda990a05167ae61d8d7f24a2427.zip |
csapi: add definitions/auth_data.* and optimise out trivial files with the latest GTAD
Diffstat (limited to 'lib/application-service')
6 files changed, 0 insertions, 153 deletions
diff --git a/lib/application-service/definitions/location_batch.cpp b/lib/application-service/definitions/location_batch.cpp deleted file mode 100644 index c9b9e95b..00000000 --- a/lib/application-service/definitions/location_batch.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#include "location_batch.h" - -using namespace QMatrixClient; - -QJsonObject QMatrixClient::toJson(const LocationBatch& pod) -{ - QJsonObject _json; - return _json; -} - -LocationBatch FromJson<LocationBatch>::operator()(const QJsonValue& jv) -{ - const auto& _json = jv.toObject(); - LocationBatch result; - - return result; -} - diff --git a/lib/application-service/definitions/location_batch.h b/lib/application-service/definitions/location_batch.h deleted file mode 100644 index cd8c0079..00000000 --- a/lib/application-service/definitions/location_batch.h +++ /dev/null @@ -1,30 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#pragma once - - -#include "csapi/../application-service/definitions/location.h" -#include "converters.h" -#include <QtCore/QVector> - -#include "converters.h" - -namespace QMatrixClient -{ - // Data structures - - /// List of matched third party locations. - struct LocationBatch : QVector<ThirdPartyLocation> - { - }; - - QJsonObject toJson(const LocationBatch& pod); - - template <> struct FromJson<LocationBatch> - { - LocationBatch operator()(const QJsonValue& jv); - }; - -} // namespace QMatrixClient diff --git a/lib/application-service/definitions/protocol_metadata.cpp b/lib/application-service/definitions/protocol_metadata.cpp deleted file mode 100644 index eb740bb6..00000000 --- a/lib/application-service/definitions/protocol_metadata.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#include "protocol_metadata.h" - -using namespace QMatrixClient; - -QJsonObject QMatrixClient::toJson(const ProtocolMetadata& pod) -{ - QJsonObject _json; - return _json; -} - -ProtocolMetadata FromJson<ProtocolMetadata>::operator()(const QJsonValue& jv) -{ - const auto& _json = jv.toObject(); - ProtocolMetadata result; - - return result; -} - diff --git a/lib/application-service/definitions/protocol_metadata.h b/lib/application-service/definitions/protocol_metadata.h deleted file mode 100644 index 3c4bcd99..00000000 --- a/lib/application-service/definitions/protocol_metadata.h +++ /dev/null @@ -1,27 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#pragma once - - - -#include "converters.h" - -namespace QMatrixClient -{ - // Data structures - - /// Dictionary of supported third party protocols. - struct ProtocolMetadata - { - }; - - QJsonObject toJson(const ProtocolMetadata& pod); - - template <> struct FromJson<ProtocolMetadata> - { - ProtocolMetadata operator()(const QJsonValue& jv); - }; - -} // namespace QMatrixClient diff --git a/lib/application-service/definitions/user_batch.cpp b/lib/application-service/definitions/user_batch.cpp deleted file mode 100644 index bbdf6835..00000000 --- a/lib/application-service/definitions/user_batch.cpp +++ /dev/null @@ -1,22 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#include "user_batch.h" - -using namespace QMatrixClient; - -QJsonObject QMatrixClient::toJson(const UserBatch& pod) -{ - QJsonObject _json; - return _json; -} - -UserBatch FromJson<UserBatch>::operator()(const QJsonValue& jv) -{ - const auto& _json = jv.toObject(); - UserBatch result; - - return result; -} - diff --git a/lib/application-service/definitions/user_batch.h b/lib/application-service/definitions/user_batch.h deleted file mode 100644 index 891d3544..00000000 --- a/lib/application-service/definitions/user_batch.h +++ /dev/null @@ -1,30 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#pragma once - - -#include "csapi/../application-service/definitions/user.h" -#include "converters.h" -#include <QtCore/QVector> - -#include "converters.h" - -namespace QMatrixClient -{ - // Data structures - - /// List of matched third party users. - struct UserBatch : QVector<ThirdPartyUser> - { - }; - - QJsonObject toJson(const UserBatch& pod); - - template <> struct FromJson<UserBatch> - { - UserBatch operator()(const QJsonValue& jv); - }; - -} // namespace QMatrixClient |