- FEATURE: Added per-torrent super seeding mode

This commit is contained in:
Christophe Dumez 2009-10-21 20:47:46 +00:00
commit e423285d88
6 changed files with 78 additions and 3 deletions

View file

@ -168,6 +168,11 @@ fs::path QTorrentHandle::save_path_boost() const {
return h.save_path();
}
bool QTorrentHandle::super_seeding() const {
Q_ASSERT(h.is_valid());
return h.super_seeding();
}
QStringList QTorrentHandle::url_seeds() const {
Q_ASSERT(h.is_valid());
QStringList res;
@ -446,6 +451,11 @@ void QTorrentHandle::file_priority(int index, int priority) const {
h.file_priority(index, priority);
}
void QTorrentHandle::super_seeding(bool on) const {
Q_ASSERT(h.is_valid());
h.super_seeding(on);
}
//
// Operators
//