* Added blocks to transfer list view.

* Minor modifications to the Block API.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@718 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-06-12 19:20:51 +00:00
parent 1e54882da4
commit 38f0cdbce2
4 changed files with 22 additions and 8 deletions
@@ -38,6 +38,7 @@
#define RTORRENT_DISPLAY_WINDOW_DOWNLOAD_TRANSFER_LIST_H
#include <list>
#include <torrent/block_transfer.h>
#include "window.h"
@@ -58,6 +59,8 @@ public:
unsigned int max_focus() const { return std::max<int>(rows() - get_height() + 1, 0); }
private:
char peer_id(torrent::BlockTransfer::key_type key);
core::Download* m_download;
unsigned int* m_focus;