diff options
Diffstat (limited to 'lib/csapi/logout.h')
-rw-r--r-- | lib/csapi/logout.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/csapi/logout.h b/lib/csapi/logout.h index 3d60ad48..7862c930 100644 --- a/lib/csapi/logout.h +++ b/lib/csapi/logout.h @@ -24,4 +24,18 @@ namespace QMatrixClient static QUrl makeRequestUrl(QUrl baseUrl); }; + + class LogoutAllJob : public BaseJob + { + public: + explicit LogoutAllJob(); + + /** Construct a URL out of baseUrl and usual parameters passed to + * LogoutAllJob. This function can be used when + * a URL for LogoutAllJob is necessary but the job + * itself isn't. + */ + static QUrl makeRequestUrl(QUrl baseUrl); + + }; } // namespace QMatrixClient |