aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/directory.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/generated/directory.h')
-rw-r--r--lib/jobs/generated/directory.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/jobs/generated/directory.h b/lib/jobs/generated/directory.h
index 87591240..e01ba024 100644
--- a/lib/jobs/generated/directory.h
+++ b/lib/jobs/generated/directory.h
@@ -22,6 +22,8 @@ namespace QMatrixClient
class GetRoomIdByAliasJob : public BaseJob
{
public:
+ explicit GetRoomIdByAliasJob(const QString& roomAlias);
+
/** Construct a URL out of baseUrl and usual parameters passed to
* GetRoomIdByAliasJob. This function can be used when
* a URL for GetRoomIdByAliasJob is necessary but the job
@@ -29,9 +31,10 @@ namespace QMatrixClient
*/
static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomAlias);
- explicit GetRoomIdByAliasJob(const QString& roomAlias);
~GetRoomIdByAliasJob() override;
+ // Result properties
+
const QString& roomId() const;
const QVector<QString>& servers() const;
@@ -46,6 +49,8 @@ namespace QMatrixClient
class DeleteRoomAliasJob : public BaseJob
{
public:
+ explicit DeleteRoomAliasJob(const QString& roomAlias);
+
/** Construct a URL out of baseUrl and usual parameters passed to
* DeleteRoomAliasJob. This function can be used when
* a URL for DeleteRoomAliasJob is necessary but the job
@@ -53,6 +58,5 @@ namespace QMatrixClient
*/
static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomAlias);
- explicit DeleteRoomAliasJob(const QString& roomAlias);
};
} // namespace QMatrixClient