Try to find incomplete files for new torrent

This commit is contained in:
Vladimir Golovnev (Glassez)
2016-04-19 09:54:48 +03:00
committed by sledgehammer999
parent c4ea13b284
commit e7cfd7a31d
4 changed files with 103 additions and 42 deletions

View File

@@ -356,8 +356,9 @@ namespace BitTorrent
void startUpTorrents();
bool addTorrent_impl(AddTorrentData addData, const MagnetUri &magnetUri,
const TorrentInfo &torrentInfo = TorrentInfo(),
TorrentInfo torrentInfo = TorrentInfo(),
const QByteArray &fastresumeData = QByteArray());
bool findIncompleteFiles(TorrentInfo &torrentInfo, QString &savePath) const;
void updateRatioTimer();
void exportTorrentFile(TorrentHandle *const torrent, TorrentExportFolder folder = TorrentExportFolder::Regular);