aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/directory.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 19:02:39 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-04 20:24:33 +0900
commitc71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90 (patch)
tree892bdcfd58fb31fc088c8e358d79695b16784920 /lib/jobs/generated/directory.h
parentc5b3de1732ca49c78c8ed8cf77f9e9fa414d2f04 (diff)
downloadlibquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.tar.gz
libquotient-c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90.zip
jobs/generated: code ordering, more comments
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