mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-09 19:52:31 +00:00
3357b5caab
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@247 e378c898-3ddf-0310-93e7-cc216c733640
34 lines
598 B
C++
34 lines
598 B
C++
#ifndef RTORRENT_ENGINE_DOWNLOAD_LIST_H
|
|
#define RTORRENT_ENGINE_DOWNLOAD_LIST_H
|
|
|
|
#include <iosfwd>
|
|
|
|
#include "download.h"
|
|
|
|
namespace engine {
|
|
|
|
class DownloadList : private std::list<Download> {
|
|
public:
|
|
typedef std::list<Download> Base;
|
|
|
|
using Base::iterator;
|
|
using Base::const_iterator;
|
|
using Base::reverse_iterator;
|
|
using Base::const_reverse_iterator;
|
|
|
|
using Base::begin;
|
|
using Base::end;
|
|
using Base::rbegin;
|
|
using Base::rend;
|
|
|
|
iterator create(std::istream& str);
|
|
void erase(iterator itr);
|
|
|
|
private:
|
|
void receive_hash_done(const std::string& str);
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|