aboutsummaryrefslogtreecommitdiff
path: root/examples/example_4_callHandling/example_4_callHandling.h
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-09-18 16:19:13 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-09-18 16:19:13 +0200
commitead44f83d5f00d6ae4dc05c251e13ce89cd5a6c6 (patch)
tree5b92f17b4da18d0dcb151926813ce04915298196 /examples/example_4_callHandling/example_4_callHandling.h
parentb0ab0287f7c8a16e1f8db39ba2e202574fbd6ac2 (diff)
downloadqxmpp-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.h8
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