Add preliminary support of libtorrent v1.2

libtorrent v1.2 should be built with deprecated features enabled.
This commit is contained in:
Vladimir Golovnev (Glassez) 2019-03-06 08:58:07 +03:00
parent 20f2c86d25
commit ead078a38e
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7
37 changed files with 646 additions and 370 deletions

View file

@ -53,11 +53,16 @@ namespace BitTorrent
TrackerEntry &operator=(const TrackerEntry &other) = default;
QString url() const;
bool isWorking() const;
Status status() const;
int tier() const;
void setTier(int value);
int numSeeds() const;
int numLeeches() const;
int numDownloaded() const;
libtorrent::announce_entry nativeEntry() const;
private: