aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/directory.h')
-rw-r--r--jobs/generated/directory.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/jobs/generated/directory.h b/jobs/generated/directory.h
new file mode 100644
index 00000000..1dd4e7ed
--- /dev/null
+++ b/jobs/generated/directory.h
@@ -0,0 +1,46 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+
+#pragma once
+
+#include "../basejob.h"
+
+#include <QtCore/QVector>
+#include <QtCore/QString>
+
+
+namespace QMatrixClient
+{
+ // Operations
+
+ class SetRoomAliasJob : public BaseJob
+ {
+ public:
+ explicit SetRoomAliasJob(const QString& roomAlias, const QString& roomId = {});
+ };
+
+ class GetRoomIdByAliasJob : public BaseJob
+ {
+ public:
+ explicit GetRoomIdByAliasJob(const QString& roomAlias);
+ ~GetRoomIdByAliasJob() override;
+
+ const QString& roomId() const;
+ const QVector<QString>& servers() const;
+
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+ private:
+ class Private;
+ Private* d;
+ };
+
+ class DeleteRoomAliasJob : public BaseJob
+ {
+ public:
+ explicit DeleteRoomAliasJob(const QString& roomAlias);
+ };
+} // namespace QMatrixClient