From 23dc9a3259108f8e0c55e535b9341042f1ff77f5 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 3 Feb 2018 19:17:10 +0900 Subject: jobs/generated: Generate job-specific makeRequestUrl() methods --- jobs/generated/administrative_contact.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'jobs/generated/administrative_contact.h') diff --git a/jobs/generated/administrative_contact.h b/jobs/generated/administrative_contact.h index 67563719..c8429d39 100644 --- a/jobs/generated/administrative_contact.h +++ b/jobs/generated/administrative_contact.h @@ -29,6 +29,13 @@ namespace QMatrixClient // End of inner data structures + /** Construct a URL out of baseUrl and usual parameters passed to + * GetAccount3PIDsJob. This function can be used when + * a URL for GetAccount3PIDsJob is necessary but the job + * itself isn't. + */ + static QUrl makeRequestUrl(QUrl baseUrl); + explicit GetAccount3PIDsJob(); ~GetAccount3PIDsJob() override; @@ -64,6 +71,13 @@ namespace QMatrixClient class RequestTokenTo3PIDJob : public BaseJob { public: + /** Construct a URL out of baseUrl and usual parameters passed to + * RequestTokenTo3PIDJob. This function can be used when + * a URL for RequestTokenTo3PIDJob is necessary but the job + * itself isn't. + */ + static QUrl makeRequestUrl(QUrl baseUrl); + explicit RequestTokenTo3PIDJob(); }; } // namespace QMatrixClient -- cgit v1.2.3