aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/device_management.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-21 22:59:17 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-07-21 22:59:17 +0900
commit22b14860e6b2bda990a05167ae61d8d7f24a2427 (patch)
tree70e0b47a8460af0ee2b8ab9007977178ab196dd6 /lib/csapi/device_management.h
parentd3f1f39dafc87ce5b4654ac2a9b21df53dad1a4b (diff)
downloadlibquotient-22b14860e6b2bda990a05167ae61d8d7f24a2427.tar.gz
libquotient-22b14860e6b2bda990a05167ae61d8d7f24a2427.zip
csapi: add definitions/auth_data.* and optimise out trivial files with the latest GTAD
Diffstat (limited to 'lib/csapi/device_management.h')
-rw-r--r--lib/csapi/device_management.h6
1 files changed, 3 insertions, 3 deletions
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 <QtCore/QJsonObject>
+#include "csapi/definitions/auth_data.h"
#include <QtCore/QVector>
#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<AuthenticationData>& 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<AuthenticationData>& auth = none);
};
} // namespace QMatrixClient