libQuotient
A Qt library for building matrix clients
roomcreateevent.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2019 Kitsune Ral <Kitsune-Ral@users.sf.net>
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
4
#
pragma
once
5
6
#
include
"stateevent.h"
7
#
include
<
Quotient
/
quotient_common
.
h
>
8
9
namespace
Quotient {
10
class
QUOTIENT_API
RoomCreateEvent :
public
StateEvent {
11
public
:
12
QUO_EVENT
(RoomCreateEvent,
"m.room.create"
)
13
14
using
StateEvent::StateEvent;
15
16
struct
Predecessor {
17
QString roomId;
18
QString eventId;
19
};
20
21
bool
isFederated()
const
;
22
QString version()
const
;
23
Predecessor predecessor()
const
;
24
bool
isUpgrade()
const
;
25
RoomType roomType()
const
;
26
};
27
}
// namespace Quotient
Quotient
events
roomcreateevent.h
Generated by
1.9.1