mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
FEATURE: Added option to download first and last piece of a torrent first (for preview)
This commit is contained in:
parent
873221ec14
commit
62604e32c0
5 changed files with 69 additions and 13 deletions
|
@ -122,6 +122,7 @@ class QTorrentHandle {
|
|||
void get_peer_info(std::vector<peer_info>&) const;
|
||||
bool resolve_countries() const;
|
||||
bool priv() const;
|
||||
bool first_last_piece_first() const;
|
||||
|
||||
//
|
||||
// Setters
|
||||
|
@ -155,6 +156,7 @@ class QTorrentHandle {
|
|||
void set_peer_upload_limit(asio::ip::tcp::endpoint ip, int limit) const;
|
||||
void set_peer_download_limit(asio::ip::tcp::endpoint ip, int limit) const;
|
||||
void add_tracker(announce_entry const& url);
|
||||
void prioritize_first_last_piece(bool b);
|
||||
|
||||
//
|
||||
// Operators
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue