diff --git a/src/base/bittorrent/torrent.h b/src/base/bittorrent/torrent.h index bb6f76477..f501dc175 100644 --- a/src/base/bittorrent/torrent.h +++ b/src/base/bittorrent/torrent.h @@ -192,7 +192,6 @@ namespace BitTorrent virtual void setSavePath(const Path &savePath) = 0; virtual Path downloadPath() const = 0; virtual void setDownloadPath(const Path &downloadPath) = 0; - virtual Path actualStorageLocation() const = 0; virtual Path rootPath() const = 0; virtual Path contentPath() const = 0; virtual QString category() const = 0; @@ -212,9 +211,7 @@ namespace BitTorrent virtual qreal ratioLimit() const = 0; virtual int seedingTimeLimit() const = 0; - virtual Path actualFilePath(int index) const = 0; virtual PathList filePaths() const = 0; - virtual QVector filePriorities() const = 0; virtual TorrentInfo info() const = 0; virtual bool isFinished() const = 0; @@ -232,7 +229,6 @@ namespace BitTorrent virtual bool isSequentialDownload() const = 0; virtual bool hasFirstLastPiecePriority() const = 0; virtual TorrentState state() const = 0; - virtual bool hasMetadata() const = 0; virtual bool hasMissingFiles() const = 0; virtual bool hasError() const = 0; virtual int queuePosition() const = 0; @@ -244,7 +240,6 @@ namespace BitTorrent virtual qlonglong activeTime() const = 0; virtual qlonglong finishedTime() const = 0; virtual qlonglong eta() const = 0; - virtual QVector filesProgress() const = 0; virtual int seedsCount() const = 0; virtual int peersCount() const = 0; virtual int leechsCount() const = 0; @@ -277,13 +272,6 @@ namespace BitTorrent virtual int connectionsCount() const = 0; virtual int connectionsLimit() const = 0; virtual qlonglong nextAnnounce() const = 0; - /** - * @brief fraction of file pieces that are available at least from one peer - * - * This is not the same as torrrent availability, it is just a fraction of pieces - * that can be downloaded right now. It varies between 0 to 1. - */ - virtual QVector availableFileFractions() const = 0; virtual void setName(const QString &name) = 0; virtual void setSequentialDownload(bool enable) = 0; @@ -301,7 +289,6 @@ namespace BitTorrent virtual void setDHTDisabled(bool disable) = 0; virtual void setPEXDisabled(bool disable) = 0; virtual void setLSDDisabled(bool disable) = 0; - virtual void flushCache() const = 0; virtual void addTrackers(QVector trackers) = 0; virtual void removeTrackers(const QStringList &trackers) = 0; virtual void replaceTrackers(QVector trackers) = 0;