diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-14 02:01:01 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-14 09:17:47 +0200 |
commit | b231ed76210405e670d6aad53350faab1ae18d3b (patch) | |
tree | d20bbdcc88e05d167d692fec0697ef52c0be9d25 /jobs/generated/logout.cpp | |
parent | 2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1 (diff) | |
download | libquotient-b231ed76210405e670d6aad53350faab1ae18d3b.tar.gz libquotient-b231ed76210405e670d6aad53350faab1ae18d3b.zip |
LogoutJob is supplied by generated code
Diffstat (limited to 'jobs/generated/logout.cpp')
-rw-r--r-- | jobs/generated/logout.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/jobs/generated/logout.cpp b/jobs/generated/logout.cpp new file mode 100644 index 00000000..b750efe2 --- /dev/null +++ b/jobs/generated/logout.cpp @@ -0,0 +1,22 @@ +/****************************************************************************** + * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN + */ + + +#include "logout.h" + +#include "jobs/converters.h" +#include <QtCore/QStringBuilder> + +using namespace QMatrixClient; + +static const auto basePath = QStringLiteral("/_matrix/client/r0"); + +LogoutJob::LogoutJob() + : BaseJob(HttpVerb::Post, "LogoutJob", + basePath % "/logout", + Query { }, + Data { } + ) +{ } + |