#include <functional>
+#include <QSslError>
+#include <QSslSocket>
#include <QTimer>
-#ifdef HAVE_SSL
-# include <QSslError>
-# include <QSslSocket>
-#else
-# include <QTcpSocket>
-#endif
-
#ifdef HAVE_QCA2
# include "cipher.h"
#endif
void sendAutoWho();
void startAutoWhoCycle();
-#ifdef HAVE_SSL
void onSslErrors(const QList<QSslError>& errors);
-#endif
/**
* Check the message token bucket
bool _debugLogRawIrc; ///< If true, include raw IRC socket messages in the debug log
qint32 _debugLogRawNetId; ///< Network ID for logging raw IRC socket messages, or -1 for all
-#ifdef HAVE_SSL
QSslSocket socket;
-#else
- QTcpSocket socket;
-#endif
qint64 _socketId{0};
CoreUserInputHandler* _userInputHandler;