mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 15:49:20 +00:00
* Added slot map's for insert/erase, open/close, start/stop and
finished downloads in DownloadList, moved stuff from core::Manager to the slot maps. * Added check hash key ^r, though triggering check hash on finished signals currently borks. * Made tracker dump into an option. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@470 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+1
-11
@@ -26,7 +26,6 @@
|
||||
#include <iosfwd>
|
||||
|
||||
#include "download_list.h"
|
||||
#include "download_slot_map.h"
|
||||
#include "download_store.h"
|
||||
#include "hash_queue.h"
|
||||
#include "http_queue.h"
|
||||
@@ -52,8 +51,6 @@ public:
|
||||
HashQueue& get_hash_queue() { return m_hashQueue; }
|
||||
HttpQueue& get_http_queue() { return m_httpQueue; }
|
||||
|
||||
DownloadSlotMap& get_default_settings() { return m_defaultSettings; }
|
||||
|
||||
Poll& get_poll() { return m_poll; }
|
||||
Log& get_log_important() { return m_logImportant; }
|
||||
Log& get_log_complete() { return m_logComplete; }
|
||||
@@ -74,24 +71,17 @@ public:
|
||||
void debug_tracker() { m_debugTracker = 0; }
|
||||
|
||||
private:
|
||||
void receive_http_failed(std::string msg);
|
||||
|
||||
void create_file(const std::string& uri);
|
||||
void create_http(const std::string& uri);
|
||||
|
||||
void create_final(std::istream* s);
|
||||
|
||||
void setup_download(Download* itr);
|
||||
|
||||
void receive_debug_tracker(std::istream* s);
|
||||
void receive_http_failed(std::string msg);
|
||||
|
||||
DownloadList m_downloadList;
|
||||
DownloadStore m_downloadStore;
|
||||
HashQueue m_hashQueue;
|
||||
HttpQueue m_httpQueue;
|
||||
|
||||
DownloadSlotMap m_defaultSettings;
|
||||
|
||||
Poll m_poll;
|
||||
Log m_logImportant;
|
||||
Log m_logComplete;
|
||||
|
||||
Reference in New Issue
Block a user