QXmpp Version: 1.10.0
QXmppCallManager_p.h
1// SPDX-FileCopyrightText: 2019 Jeremy Lainé <jeremy.laine@m4x.org>
2//
3// SPDX-License-Identifier: LGPL-2.1-or-later
4
5#ifndef QXMPPCALLMANAGER_P_H
6#define QXMPPCALLMANAGER_P_H
7
8#include "QXmppCall.h"
9
10#include <QHostAddress>
11#include <QList>
12
14
15// W A R N I N G
16// -------------
17//
18// This file is not part of the QXmpp API.
19// This header file may change from version to version without notice,
20// or even be removed.
21//
22// We mean it.
23//
24
25class QXmppCallManagerPrivate
26{
27public:
28 QXmppCallManagerPrivate(QXmppCallManager *qq);
29 QXmppCall *findCall(const QString &sid) const;
30 QXmppCall *findCall(const QString &sid, QXmppCall::Direction direction) const;
31
32 QList<QXmppCall *> calls;
33 QList<QPair<QHostAddress, quint16>> stunServers;
34 QHostAddress turnHost;
35 quint16 turnPort;
36 QString turnUser;
37 QString turnPassword;
38
39private:
41};
42
43#endif
The QXmppCallManager class provides support for making and receiving voice calls.
Definition: QXmppCallManager.h:46
Definition: QXmppCall.h:21
Direction
This enum is used to describe the direction of a call.
Definition: QXmppCall.h:32