first working version of oidentd support - broken, WIP
[quassel.git] / src / core / corenetwork.h
index 0f6559a..0dc6c5f 100644 (file)
@@ -26,6 +26,7 @@
 #include "coreircuser.h"
 
 #include <QTimer>
+#include <QDebug>
 
 #ifdef HAVE_SSL
 # include <QSslSocket>
@@ -33,6 +34,7 @@
 #else
 # include <QTcpSocket>
 #endif
+#include <QAbstractSocket>
 
 #ifdef HAVE_QCA2
 #  include "cipher.h"
@@ -153,6 +155,7 @@ signals:
   void sslErrors(const QVariant &errorData);
 
   void newEvent(Event *event);
+  void newSocket(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort);
 
 protected:
   inline virtual IrcChannel *ircChannelFactory(const QString &channelname) { return new CoreIrcChannel(channelname, this); }