Browse Source

Remove redundant function declaration

adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
3fbe380582
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 13
      src/base/bittorrent/torrent.h

13
src/base/bittorrent/torrent.h

@ -192,7 +192,6 @@ namespace BitTorrent @@ -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 @@ -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<DownloadPriority> filePriorities() const = 0;
virtual TorrentInfo info() const = 0;
virtual bool isFinished() const = 0;
@ -232,7 +229,6 @@ namespace BitTorrent @@ -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 @@ -244,7 +240,6 @@ namespace BitTorrent
virtual qlonglong activeTime() const = 0;
virtual qlonglong finishedTime() const = 0;
virtual qlonglong eta() const = 0;
virtual QVector<qreal> filesProgress() const = 0;
virtual int seedsCount() const = 0;
virtual int peersCount() const = 0;
virtual int leechsCount() const = 0;
@ -277,13 +272,6 @@ namespace BitTorrent @@ -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<qreal> availableFileFractions() const = 0;
virtual void setName(const QString &name) = 0;
virtual void setSequentialDownload(bool enable) = 0;
@ -301,7 +289,6 @@ namespace BitTorrent @@ -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<TrackerEntry> trackers) = 0;
virtual void removeTrackers(const QStringList &trackers) = 0;
virtual void replaceTrackers(QVector<TrackerEntry> trackers) = 0;

Loading…
Cancel
Save