|
|
@ -36,7 +36,15 @@ |
|
|
|
#include <QMessageBox> |
|
|
|
#include <QMessageBox> |
|
|
|
#include "ui_peer.h" |
|
|
|
#include "ui_peer.h" |
|
|
|
#include <libtorrent/session.hpp> |
|
|
|
#include <libtorrent/session.hpp> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <boost/version.hpp> |
|
|
|
|
|
|
|
#if BOOST_VERSION < 103500 |
|
|
|
#include <libtorrent/asio/ip/tcp.hpp> |
|
|
|
#include <libtorrent/asio/ip/tcp.hpp> |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
#include <boost/asio/ip/tcp.hpp> |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using namespace libtorrent; |
|
|
|
|
|
|
|
|
|
|
|
class PeerAdditionDlg: public QDialog, private Ui::addPeerDialog { |
|
|
|
class PeerAdditionDlg: public QDialog, private Ui::addPeerDialog { |
|
|
|
Q_OBJECT |
|
|
|
Q_OBJECT |
|
|
|