QXmpp: QXmppMessage_p.h Source File

QXmpp Version: 1.14.2

Loading...
Searching...
No Matches
QXmppMessage_p.h
1// SPDX-FileCopyrightText: 2025 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPMESSAGE_P_H
6#define QXMPPMESSAGE_P_H
7
8#include "QXmppMessage.h"
9
10#include "Enums.h"
11
12namespace QXmpp::Private {
13
14template<>
15struct Enums::Data<QXmppMessage::Type> {
16 using enum QXmppMessage::Type;
17 static constexpr auto Values = makeValues<QXmppMessage::Type>({
18 { Error, u"error" },
19 { Normal, u"normal" },
20 { Chat, u"chat" },
21 { GroupChat, u"groupchat" },
22 { Headline, u"headline" },
23 });
24};
25
26} // namespace QXmpp::Private
27
28#endif // QXMPPMESSAGE_P_H
QXmppMessage::Type
Type
This enum describes a message type.
Definition QXmppMessage.h:80