aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/banning.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-13 00:02:46 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-10-13 10:38:28 +0200
commitd27d2ab396f92b7d5139f43afe52be6e0470eaea (patch)
tree1821adeb315fc216d76f20a69613cea9a11605bb /jobs/generated/banning.h
parent360fa9c8a053d8b0888c5d2a8cda6c7672cdd5a1 (diff)
downloadlibquotient-d27d2ab396f92b7d5139f43afe52be6e0470eaea.tar.gz
libquotient-d27d2ab396f92b7d5139f43afe52be6e0470eaea.zip
Support banning and unbanning
Closes #38. Also rearranged #includes
Diffstat (limited to 'jobs/generated/banning.h')
-rw-r--r--jobs/generated/banning.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/jobs/generated/banning.h b/jobs/generated/banning.h
new file mode 100644
index 00000000..b9d5b8db
--- /dev/null
+++ b/jobs/generated/banning.h
@@ -0,0 +1,31 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+
+#pragma once
+
+#include "../basejob.h"
+
+#include <QtCore/QString>
+
+
+namespace QMatrixClient
+{
+
+ // Operations
+
+ class BanJob : public BaseJob
+ {
+ public:
+ explicit BanJob(QString roomId, QString user_id, QString reason = {});
+
+ };
+ class UnbanJob : public BaseJob
+ {
+ public:
+ explicit UnbanJob(QString roomId, QString user_id);
+
+ };
+
+} // namespace QMatrixClient