* Renamed TrackerInfo to DownloadInfo, moved it to DownloadMain and

cleaned up DownloadWrapper etc.

* Resume total upload from the client rather than
torrent::Download::hash_resume_load(...).

* Show client names and versions. (incomplete)


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@646 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-03-01 20:48:54 +00:00
parent c77ecb034f
commit b00d083ac2
11 changed files with 393 additions and 62 deletions
+8
View File
@@ -43,6 +43,7 @@
#include "rak/algorithm.h"
#include "canvas.h"
#include "client_info.h"
#include "window_peer_list.h"
namespace display {
@@ -125,6 +126,13 @@ WindowPeerList::redraw() {
if (p.is_snubbed())
m_canvas->print(x, y, "*");
x += 5;
char buf[128];
control->client_info()->print(buf, buf + 128, p.id().c_str());
m_canvas->print(x, y, "%s", buf);
++y;
++range.first;
}