QXmpp  Version: 1.15.1
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 
12 namespace QXmpp::Private {
13 
14 template<>
15 struct 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
Type
This enum describes a message type.
Definition: QXmppMessage.h:80
The QXmppMessage class represents an XMPP message.
Definition: QXmppMessage.h:63
Definition: Algorithms.h:14