Ratio calculation improvement: make usage of new all_time_upload and all_time_download variables in torrent_status.

This commit is contained in:
Christophe Dumez 2008-11-01 22:07:14 +00:00
commit 82706141cf
5 changed files with 27 additions and 89 deletions

View file

@ -87,6 +87,8 @@ class QTorrentHandle {
void file_progress(std::vector<size_type>& fp);
size_type total_payload_download();
size_type total_payload_upload();
size_type all_time_upload();
size_type all_time_download();
QStringList files_path() const;
int num_uploads() const;
bool is_seed() const;