mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-15 05:36:17 +00:00
* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user