QXmpp  Version: 1.10.4
QXmppGlobal_p.h
1 // SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
2 //
3 // SPDX-License-Identifier: LGPL-2.1-or-later
4 
5 #ifndef QXMPPGLOBAL_P_H
6 #define QXMPPGLOBAL_P_H
7 
8 #include "QXmppGlobal.h"
9 
10 #include <optional>
11 
12 namespace QXmpp::Private {
13 
14 // Encryption enum
15 std::optional<EncryptionMethod> encryptionFromString(QStringView str);
16 QStringView encryptionToString(EncryptionMethod);
17 QStringView encryptionToName(EncryptionMethod);
18 
19 } // namespace QXmpp::Private
20 
21 #endif // QXMPPGLOBAL_P_H
Definition: Algorithms.h:12
EncryptionMethod
Definition: QXmppGlobal.h:89