aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/logout.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-14 02:01:01 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-14 09:17:47 +0200
commitb231ed76210405e670d6aad53350faab1ae18d3b (patch)
treed20bbdcc88e05d167d692fec0697ef52c0be9d25 /jobs/generated/logout.cpp
parent2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1 (diff)
downloadlibquotient-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.cpp22
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 { }
+ )
+{ }
+