Deletes torrents in the session directory when they are removed.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@293 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-20 15:40:01 +00:00
parent 91da0475e4
commit fa9a2d7e86
7 changed files with 22 additions and 10 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ namespace core {
class Manager {
public:
typedef DownloadList::iterator iterator;
typedef sigc::slot1<void, DownloadList::iterator> SlotReady;
typedef sigc::slot0<void> SlotFailed;
@@ -27,7 +28,7 @@ public:
void cleanup();
void insert(const std::string& uri);
void erase(DownloadList::iterator itr);
iterator erase(DownloadList::iterator itr);
void start(Download* d);
void stop(Download* d);