aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/redaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/redaction.h')
-rw-r--r--jobs/generated/redaction.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/jobs/generated/redaction.h b/jobs/generated/redaction.h
new file mode 100644
index 00000000..600e0daa
--- /dev/null
+++ b/jobs/generated/redaction.h
@@ -0,0 +1,32 @@
+/******************************************************************************
+ * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
+ */
+
+
+#pragma once
+
+#include "../basejob.h"
+
+#include <QtCore/QString>
+
+
+namespace QMatrixClient
+{
+ // Operations
+
+ class RedactEventJob : public BaseJob
+ {
+ public:
+ explicit RedactEventJob(const QString& roomId, const QString& eventId, const QString& txnId, const QString& reason = {});
+ ~RedactEventJob() override;
+
+ const QString& eventId() const;
+
+ protected:
+ Status parseJson(const QJsonDocument& data) override;
+
+ private:
+ class Private;
+ Private* d;
+ };
+} // namespace QMatrixClient