QXmpp Version: 1.15.1
Loading...
Searching...
No Matches
QXmppDiscoveryIq_p.h
1// SPDX-FileCopyrightText: 2026 Linus Jahn <lnj@kaidan.im>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPDISCOVERYIQ_P_H
6#define QXMPPDISCOVERYIQ_P_H
7
8#include "QXmppDiscoveryIq.h"
9
10#include "Enums.h"
11
12namespace QXmpp::Private {
13
14using namespace Enums;
15
16template<>
17struct Enums::Data<Disco::Category> {
18 using enum Disco::Category;
19 static constexpr auto Values = makeValues<Disco::Category>({
20 { Account, u"account" },
21 { Auth, u"auth" },
22 { Automation, u"automation" },
23 { Client, u"client" },
24 { Collaboration, u"collaboration" },
25 { Component, u"component" },
26 { Conference, u"conference" },
27 { Directory, u"directory" },
28 { Gateway, u"gateway" },
29 { Headline, u"headline" },
30 { Hierarchy, u"hierarchy" },
31 { Proxy, u"proxy" },
32 { PubSub, u"pubsub" },
33 { Server, u"server" },
34 { Store, u"store" },
35 });
36};
37
38template<>
39struct Enums::Data<Disco::Type> {
40 using enum Disco::Type;
41 static constexpr auto Values = makeValues<Disco::Type>({
42 { Bot, u"bot" },
43 { Console, u"console" },
44 { Game, u"game" },
45 { Handheld, u"handheld" },
46 { Pc, u"pc" },
47 { Phone, u"phone" },
48 { Sms, u"sms" },
49 { Tablet, u"tablet" },
50 { Web, u"web" },
51 { Irc, u"irc" },
52 { Mix, u"mix" },
53 { Text, u"text" },
54 { Collection, u"collection" },
55 { Leaf, u"leaf" },
56 { Pep, u"pep" },
57 { Service, u"service" },
58 { File, u"file" },
59 });
60};
61
62} // namespace QXmpp::Private
63
64#endif // QXMPPDISCOVERYIQ_P_H