mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 12:12:31 +00:00
Adding hash check queue.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@278 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define RTORRENT_CORE_MANAGER_H
|
||||
|
||||
#include "download_list.h"
|
||||
#include "hash_queue.h"
|
||||
#include "http_queue.h"
|
||||
|
||||
namespace core {
|
||||
@@ -12,10 +13,13 @@ public:
|
||||
typedef sigc::slot0<void> SlotFailed;
|
||||
|
||||
DownloadList& get_download_list() { return m_downloadList; }
|
||||
HashQueue& get_hash_queue() { return m_hashQueue; }
|
||||
HttpQueue& get_http_queue() { return m_httpQueue; }
|
||||
|
||||
void insert(const std::string& uri);
|
||||
|
||||
void start(Download* d);
|
||||
|
||||
private:
|
||||
void receive_http_done(torrent::Http* http);
|
||||
|
||||
@@ -23,6 +27,7 @@ private:
|
||||
void create_http(const std::string& uri);
|
||||
|
||||
DownloadList m_downloadList;
|
||||
HashQueue m_hashQueue;
|
||||
HttpQueue m_httpQueue;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user