aboutsummaryrefslogtreecommitdiff
path: root/lib/application-service/definitions/location_batch.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-18 18:42:02 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-18 18:42:02 +0900
commitf3a251404c00787b650e618fb5c257162507c18b (patch)
treea801eb5f444a8b2b3f8d93d2b64e22785bbf3f97 /lib/application-service/definitions/location_batch.h
parent5e6b4bb975fa9697a6aca001629c65db506a437f (diff)
downloadlibquotient-f3a251404c00787b650e618fb5c257162507c18b.tar.gz
libquotient-f3a251404c00787b650e618fb5c257162507c18b.zip
csapi: third_party_lookup.* and its dependencies in application-service/
As per the latest API definitions.
Diffstat (limited to 'lib/application-service/definitions/location_batch.h')
-rw-r--r--lib/application-service/definitions/location_batch.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/application-service/definitions/location_batch.h b/lib/application-service/definitions/location_batch.h
new file mode 100644
index 00000000..59e0d14e
--- /dev/null
+++ b/lib/application-service/definitions/location_batch.h
@@ -0,0 +1,30 @@
+/******************************************************************************
+ * 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<Location>
+ {
+ };
+
+ QJsonObject toJson(const LocationBatch& pod);
+
+ template <> struct FromJson<LocationBatch>
+ {
+ LocationBatch operator()(const QJsonValue& jv);
+ };
+
+} // namespace QMatrixClient