diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-18 16:19:13 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-18 16:19:13 +0200 |
| commit | ead44f83d5f00d6ae4dc05c251e13ce89cd5a6c6 (patch) | |
| tree | 5b92f17b4da18d0dcb151926813ce04915298196 /examples/example_4_callHandling/example_4_callHandling.h | |
| parent | b0ab0287f7c8a16e1f8db39ba2e202574fbd6ac2 (diff) | |
| download | qxmpp-ead44f83d5f00d6ae4dc05c251e13ce89cd5a6c6.tar.gz | |
start adding code to lookup TURN server
Diffstat (limited to 'examples/example_4_callHandling/example_4_callHandling.h')
| -rw-r--r-- | examples/example_4_callHandling/example_4_callHandling.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/examples/example_4_callHandling/example_4_callHandling.h b/examples/example_4_callHandling/example_4_callHandling.h index 788d932c..e1287016 100644 --- a/examples/example_4_callHandling/example_4_callHandling.h +++ b/examples/example_4_callHandling/example_4_callHandling.h @@ -27,6 +27,9 @@ #include "QXmppCallManager.h" #include "QXmppClient.h" +#include "qdnslookup.h" + +class QHostInfo; class xmppClient : public QXmppClient { @@ -40,11 +43,16 @@ private slots: void slotAudioModeChanged(QIODevice::OpenMode mode); void slotCallReceived(QXmppCall *call); void slotCallStateChanged(QXmppCall::State state); + void slotConnected(); + void slotDnsLookupFinished(); + void slotHostInfoFinished(const QHostInfo &hostInfo); void slotPresenceReceived(const QXmppPresence &presence); private: QXmppCallManager *callManager; + QDnsLookup m_dns; QString m_recipient; + quint16 m_turnPort; }; #endif // IBBCLIENT_H |
