diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-13 00:02:46 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-13 10:38:28 +0200 |
commit | d27d2ab396f92b7d5139f43afe52be6e0470eaea (patch) | |
tree | 1821adeb315fc216d76f20a69613cea9a11605bb /jobs/generated/banning.h | |
parent | 360fa9c8a053d8b0888c5d2a8cda6c7672cdd5a1 (diff) | |
download | libquotient-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.h | 31 |
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 |