libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
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::RoomCreateEvent
Definition
roomcreateevent.h:10
QUO_EVENT
#define QUO_EVENT(CppType_, MatrixType_)
Supply event metatype information in (specific) event types.
Definition
event.h:436
Quotient
Definition
accountregistry.h:13
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
events
roomcreateevent.h
Generated by
1.9.8