Don't access libtorrent session directly from TorrentImpl

This commit is contained in:
Vladimir Golovnev (Glassez)
2025-05-05 13:57:53 +03:00
parent 3691eb948e
commit 582dc99cae
4 changed files with 27 additions and 24 deletions

View File

@@ -482,6 +482,8 @@ namespace BitTorrent
bool addMoveTorrentStorageJob(TorrentImpl *torrent, const Path &newPath, MoveStorageMode mode, MoveStorageContext context);
lt::torrent_handle reloadTorrent(const lt::torrent_handle &currentHandle, lt::add_torrent_params params);
QFuture<FileSearchResult> findIncompleteFiles(const Path &savePath, const Path &downloadPath, const PathList &filePaths = {}) const;
void enablePortMapping();