mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
Refactored code for positioning the focus and the start of iteration.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@327 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -8,6 +8,9 @@ namespace core {
|
||||
|
||||
class Download {
|
||||
public:
|
||||
bool is_open() { return m_download.is_open(); }
|
||||
bool is_done() { return m_download.get_chunks_done() == m_download.get_chunks_total(); }
|
||||
|
||||
void set_download(torrent::Download d);
|
||||
void release_download();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user