QXmpp  Version: 1.10.4
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 
13 class QXmppCallManager;
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 
25 class QXmppCallManagerPrivate
26 {
27 public:
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 
39 private:
41 };
42 
43 #endif
Direction
This enum is used to describe the direction of a call.
Definition: QXmppCall.h:32
Definition: QXmppCall.h:20
The QXmppCallManager class provides support for making and receiving voice calls. ...
Definition: QXmppCallManager.h:45