From c71c4eb027cc7bb3b6b1a9bd41c048fcdfe4aa90 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 4 May 2018 19:02:39 +0900 Subject: jobs/generated: code ordering, more comments --- lib/jobs/generated/leaving.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/jobs/generated/leaving.h') diff --git a/lib/jobs/generated/leaving.h b/lib/jobs/generated/leaving.h index 9bae2363..7e914dd1 100644 --- a/lib/jobs/generated/leaving.h +++ b/lib/jobs/generated/leaving.h @@ -15,6 +15,8 @@ namespace QMatrixClient class LeaveRoomJob : public BaseJob { public: + explicit LeaveRoomJob(const QString& roomId); + /** Construct a URL out of baseUrl and usual parameters passed to * LeaveRoomJob. This function can be used when * a URL for LeaveRoomJob is necessary but the job @@ -22,12 +24,13 @@ namespace QMatrixClient */ static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - explicit LeaveRoomJob(const QString& roomId); }; class ForgetRoomJob : public BaseJob { public: + explicit ForgetRoomJob(const QString& roomId); + /** Construct a URL out of baseUrl and usual parameters passed to * ForgetRoomJob. This function can be used when * a URL for ForgetRoomJob is necessary but the job @@ -35,6 +38,5 @@ namespace QMatrixClient */ static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - explicit ForgetRoomJob(const QString& roomId); }; } // namespace QMatrixClient -- cgit v1.2.3 From 49022915fde72b83d9f18944c268110b01fa3469 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 4 May 2018 23:04:04 +0900 Subject: New home for the generated code - lib/csapi --- lib/jobs/generated/leaving.h | 42 ------------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 lib/jobs/generated/leaving.h (limited to 'lib/jobs/generated/leaving.h') diff --git a/lib/jobs/generated/leaving.h b/lib/jobs/generated/leaving.h deleted file mode 100644 index 7e914dd1..00000000 --- a/lib/jobs/generated/leaving.h +++ /dev/null @@ -1,42 +0,0 @@ -/****************************************************************************** - * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN - */ - -#pragma once - -#include "../basejob.h" - - - -namespace QMatrixClient -{ - // Operations - - class LeaveRoomJob : public BaseJob - { - public: - explicit LeaveRoomJob(const QString& roomId); - - /** Construct a URL out of baseUrl and usual parameters passed to - * LeaveRoomJob. This function can be used when - * a URL for LeaveRoomJob is necessary but the job - * itself isn't. - */ - static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - - }; - - class ForgetRoomJob : public BaseJob - { - public: - explicit ForgetRoomJob(const QString& roomId); - - /** Construct a URL out of baseUrl and usual parameters passed to - * ForgetRoomJob. This function can be used when - * a URL for ForgetRoomJob is necessary but the job - * itself isn't. - */ - static QUrl makeRequestUrl(QUrl baseUrl, const QString& roomId); - - }; -} // namespace QMatrixClient -- cgit v1.2.3