aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callhangupevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/events/callhangupevent.h')
-rw-r--r--lib/events/callhangupevent.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/lib/events/callhangupevent.h b/lib/events/callhangupevent.h
index 3c3910be..0a5a3283 100644
--- a/lib/events/callhangupevent.h
+++ b/lib/events/callhangupevent.h
@@ -20,16 +20,17 @@
#include "roomevent.h"
-namespace QMatrixClient {
- class CallHangupEvent : public CallEventBase
- {
- public:
- DEFINE_EVENT_TYPEID("m.call.hangup", CallHangupEvent)
+namespace QMatrixClient
+{
+class CallHangupEvent : public CallEventBase
+{
+public:
+ DEFINE_EVENT_TYPEID("m.call.hangup", CallHangupEvent)
- explicit CallHangupEvent(const QJsonObject& obj);
- explicit CallHangupEvent(const QString& callId);
- };
+ explicit CallHangupEvent(const QJsonObject& obj);
+ explicit CallHangupEvent(const QString& callId);
+};
- REGISTER_EVENT_TYPE(CallHangupEvent)
- DEFINE_EVENTTYPE_ALIAS(CallHangup, CallHangupEvent)
-}
+REGISTER_EVENT_TYPE(CallHangupEvent)
+DEFINE_EVENTTYPE_ALIAS(CallHangup, CallHangupEvent)
+} // namespace QMatrixClient