blob: 9756ba71065e0d5fd0495556a067697a6f8d2a8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// SPDX-FileCopyrightText: 2017 Niels Ole Salscheider <niels_ole@salscheider-online.de>
//
// SPDX-License-Identifier: LGPL-2.1-or-later
#ifndef QXMPPSTANZA_P_H
#define QXMPPSTANZA_P_H
#include "QXmppStanza.h"
#include <optional>
// W A R N I N G
// -------------
//
// This file is not part of the QXmpp API. It exists for the convenience
// of the QXmppStanza class.
//
// This header file may change from version to version without notice,
// or even be removed.
//
// We mean it.
//
namespace QXmpp::Private {
// defined in QXmppStanza.cpp
auto conditionToString(QXmppStanza::Error::Condition condition) -> QString;
auto conditionFromString(const QString &string) -> std::optional<QXmppStanza::Error::Condition>;
auto typeToString(QXmppStanza::Error::Type type) -> QString;
auto typeFromString(const QString &string) -> std::optional<QXmppStanza::Error::Type>;
} // namespace QXmpp::Private
#endif
|