Added start/stop keys.

Added more extensive download status information where only tracker
status used to be.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@279 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-15 21:59:35 +00:00
parent f348196f2e
commit 46120cbb30
16 changed files with 182 additions and 71 deletions
+8
View File
@@ -4,6 +4,7 @@
#include "download_list.h"
#include "hash_queue.h"
#include "http_queue.h"
#include "poll.h"
namespace core {
@@ -16,9 +17,15 @@ public:
HashQueue& get_hash_queue() { return m_hashQueue; }
HttpQueue& get_http_queue() { return m_httpQueue; }
Poll& get_poll() { return m_poll; }
void initialize();
void cleanup();
void insert(const std::string& uri);
void start(Download* d);
void stop(Download* d);
private:
void receive_http_done(torrent::Http* http);
@@ -29,6 +36,7 @@ private:
DownloadList m_downloadList;
HashQueue m_hashQueue;
HttpQueue m_httpQueue;
Poll m_poll;
};
}