Implement sync/torrent_peers request

This commit is contained in:
buinsky
2015-11-12 22:19:44 +03:00
committed by sledgehammer999
parent ddc8420810
commit 0c8abd0abb
10 changed files with 266 additions and 151 deletions

View File

@@ -46,6 +46,7 @@ public:
static QByteArray getTorrents(QString filter = "all", QString label = QString(),
QString sortedColumn = "name", bool reverse = false, int limit = 0, int offset = 0);
static QByteArray getSyncMainData(int acceptedResponseId, QVariantMap &lastData, QVariantMap &lastAcceptedData);
static QByteArray getSyncTorrentPeersData(int acceptedResponseId, QString hash, QVariantMap &lastData, QVariantMap &lastAcceptedData);
static QByteArray getTrackersForTorrent(const QString& hash);
static QByteArray getWebSeedsForTorrent(const QString& hash);
static QByteArray getPropertiesForTorrent(const QString& hash);