HttpQueue finishing touches.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@266 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-10 20:00:00 +00:00
parent deb1244d8c
commit 8ec38be77e
8 changed files with 61 additions and 49 deletions
+3 -4
View File
@@ -29,7 +29,9 @@ public:
using Base::empty;
using Base::size;
void insert(const std::string& url);
// Note that any slots connected to the torrent::Http signals must be
// pushed in front of the erase slot added by HttpQueue::insert.
iterator insert(const std::string& url);
void erase(iterator itr);
void clear();
@@ -37,9 +39,6 @@ public:
void slot_factory(SlotFactory s) { m_slotFactory = s; }
private:
void receive_done(iterator itr);
void receive_failed(iterator itr, std::string msg);
SlotFactory m_slotFactory;
};