Loading...
Searching...
No Matches
QXmppGlobal_p.h
// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPGLOBAL_P_H
#define QXMPPGLOBAL_P_H
#include "QXmppConstants_p.h"
#include "QXmppGlobal.h"
#include "Enums.h"
namespace QXmpp::Private {
template<>
struct Enums::Data<EncryptionMethod> {
using enum EncryptionMethod;
static constexpr auto Values = makeValues<EncryptionMethod>({
{ NoEncryption, {} },
{ UnknownEncryption, {} },
{ Otr, ns_otr },
{ LegacyOpenPGP, ns_legacy_openpgp },
{ Ox, ns_ox },
{ Omemo0, ns_omemo },
{ Omemo1, ns_omemo_1 },
{ Omemo2, ns_omemo_2 },
});
};
} // namespace QXmpp::Private
#endif // QXMPPGLOBAL_P_H
QXmpp::EncryptionMethod
EncryptionMethod
Definition QXmppGlobal.h:101
QXmpp::Omemo0
@ Omemo0
XEP-0384: OMEMO Encryption
Definition QXmppGlobal.h:113
QXmpp::Ox
@ Ox
XEP-0373: OpenPGP for XMPP
Definition QXmppGlobal.h:111
QXmpp::Omemo2
@ Omemo2
XEP-0384: OMEMO Encryption since version 0.8
Definition QXmppGlobal.h:117
QXmpp::Otr
@ Otr
XEP-0364: Current Off-the-Record Messaging Usage
Definition QXmppGlobal.h:107
QXmpp::NoEncryption
@ NoEncryption
No encryption.
Definition QXmppGlobal.h:103
QXmpp::LegacyOpenPGP
@ LegacyOpenPGP
Definition QXmppGlobal.h:129
QXmpp::Omemo1
@ Omemo1
XEP-0384: OMEMO Encryption since version 0.4
Definition QXmppGlobal.h:115
QXmpp::UnknownEncryption
@ UnknownEncryption
Unknown encryption.
Definition QXmppGlobal.h:105