aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/whoami.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/whoami.h')
-rw-r--r--jobs/generated/whoami.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/jobs/generated/whoami.h b/jobs/generated/whoami.h
index 8e1952da..835232ee 100644
--- a/jobs/generated/whoami.h
+++ b/jobs/generated/whoami.h
@@ -15,6 +15,13 @@ namespace QMatrixClient
class GetTokenOwnerJob : public BaseJob
{
public:
+ /** Construct a URL out of baseUrl and usual parameters passed to
+ * GetTokenOwnerJob. This function can be used when
+ * a URL for GetTokenOwnerJob is necessary but the job
+ * itself isn't.
+ */
+ static QUrl makeRequestUrl(QUrl baseUrl);
+
explicit GetTokenOwnerJob();
~GetTokenOwnerJob() override;