From 22b14860e6b2bda990a05167ae61d8d7f24a2427 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 21 Jul 2018 22:59:17 +0900 Subject: csapi: add definitions/auth_data.* and optimise out trivial files with the latest GTAD --- lib/csapi/device_management.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/csapi/device_management.h') diff --git a/lib/csapi/device_management.h b/lib/csapi/device_management.h index 978d94d3..338f8529 100644 --- a/lib/csapi/device_management.h +++ b/lib/csapi/device_management.h @@ -6,7 +6,7 @@ #include "jobs/basejob.h" -#include +#include "csapi/definitions/auth_data.h" #include #include "converters.h" #include "csapi/definitions/client_device.h" @@ -112,7 +112,7 @@ namespace QMatrixClient * Additional authentication information for the * user-interactive authentication API. */ - explicit DeleteDeviceJob(const QString& deviceId, const QJsonObject& auth = {}); + explicit DeleteDeviceJob(const QString& deviceId, const Omittable& auth = none); }; /// Bulk deletion of devices @@ -130,6 +130,6 @@ namespace QMatrixClient * Additional authentication information for the * user-interactive authentication API. */ - explicit DeleteDevicesJob(const QStringList& devices, const QJsonObject& auth = {}); + explicit DeleteDevicesJob(const QStringList& devices, const Omittable& auth = none); }; } // namespace QMatrixClient -- cgit v1.2.3