aboutsummaryrefslogtreecommitdiff
path: root/lib/events/callhangupevent.h
blob: 432f72f5b72b07113c7393f8f9cccad703bbfd66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/******************************************************************************
 * SPDX-FileCopyrightText: 2017 Marius Gripsgard <marius@ubports.com>
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once

#include "roomevent.h"

namespace Quotient {
class CallHangupEvent : public CallEventBase {
public:
    DEFINE_EVENT_TYPEID("m.call.hangup", CallHangupEvent)

    explicit CallHangupEvent(const QJsonObject& obj);
    explicit CallHangupEvent(const QString& callId);
};

REGISTER_EVENT_TYPE(CallHangupEvent)
} // namespace Quotient