* Added "working_directory" option that calls chdir.

* Added "session_on_completion" option which saves the session torrent
when a download finishes.

* Handle SIGTERM gracefully, saving session torrents etc.

* Implemented session directory lockfile, use "session_lock" option to
disable.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@629 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-02-01 12:11:09 +00:00
parent 6f44f8f920
commit d06ecda46a
21 changed files with 283 additions and 178 deletions
+3 -1
View File
@@ -37,6 +37,8 @@
#ifndef RTORRENT_UTILS_VARIABLE_H
#define RTORRENT_UTILS_VARIABLE_H
#include <string>
namespace torrent {
class Bencode;
}
@@ -49,7 +51,7 @@ public:
virtual ~Variable() {}
virtual const torrent::Bencode& get() = 0;
virtual void set(const torrent::Bencode& arg) = 0;
virtual void set(const torrent::Bencode& arg) = 0;
protected:
Variable(const Variable&);