diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-27 12:05:15 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2015-08-27 12:05:15 +0200 |
| commit | 23d8cabdea7164e73c991bcd450ca175d1d1463b (patch) | |
| tree | 2d70207a0f03833443ed90ef765b316bb0992708 /src/base/QXmppStun.h | |
| parent | 613564dee8e4eeecfc197f9844621d27888e3593 (diff) | |
| download | qxmpp-23d8cabdea7164e73c991bcd450ca175d1d1463b.tar.gz | |
trim QXmppIceComponent API down to bare minimal
Diffstat (limited to 'src/base/QXmppStun.h')
| -rw-r--r-- | src/base/QXmppStun.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/base/QXmppStun.h b/src/base/QXmppStun.h index 62cab200..41659b7f 100644 --- a/src/base/QXmppStun.h +++ b/src/base/QXmppStun.h @@ -169,15 +169,9 @@ class QXMPP_EXPORT QXmppIceComponent : public QXmppLoggable public: ~QXmppIceComponent(); - void setStunServer(const QHostAddress &host, quint16 port); - void setTurnServer(const QHostAddress &host, quint16 port); - void setTurnUser(const QString &user); - void setTurnPassword(const QString &password); - - QList<QXmppJingleCandidate> localCandidates() const; - int component() const; bool isConnected() const; + QList<QXmppJingleCandidate> localCandidates() const; static QList<QHostAddress> discoverAddresses(); static QList<QUdpSocket*> reservePorts(const QList<QHostAddress> &addresses, int count, QObject *parent = 0); |
