|
|
@ -35,6 +35,7 @@ |
|
|
|
#include <libtorrent/torrent_info.hpp> |
|
|
|
#include <libtorrent/torrent_info.hpp> |
|
|
|
|
|
|
|
|
|
|
|
using namespace libtorrent; |
|
|
|
using namespace libtorrent; |
|
|
|
|
|
|
|
|
|
|
|
#include <QString> |
|
|
|
#include <QString> |
|
|
|
class QStringList; |
|
|
|
class QStringList; |
|
|
|
|
|
|
|
|
|
|
@ -152,9 +153,9 @@ class QTorrentHandle { |
|
|
|
void super_seeding(bool on) const; |
|
|
|
void super_seeding(bool on) const; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
void resolve_countries(bool r); |
|
|
|
void resolve_countries(bool r); |
|
|
|
void connect_peer(asio::ip::tcp::endpoint const& adr, int source = 0) const; |
|
|
|
void connect_peer(libtorrent::asio::ip::tcp::endpoint const& adr, int source = 0) const; |
|
|
|
void set_peer_upload_limit(asio::ip::tcp::endpoint ip, int limit) const; |
|
|
|
void set_peer_upload_limit(libtorrent::asio::ip::tcp::endpoint ip, int limit) const; |
|
|
|
void set_peer_download_limit(asio::ip::tcp::endpoint ip, int limit) const; |
|
|
|
void set_peer_download_limit(libtorrent::asio::ip::tcp::endpoint ip, int limit) const; |
|
|
|
void add_tracker(announce_entry const& url); |
|
|
|
void add_tracker(announce_entry const& url); |
|
|
|
void prioritize_first_last_piece(bool b); |
|
|
|
void prioritize_first_last_piece(bool b); |
|
|
|
|
|
|
|
|
|
|
|