mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
FEATURE: Added option to download first and last piece of a torrent first (for preview)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user