* Added "create_link" and "delete_link" options for creating and

deleting symbolic links to downloads.

* Added "on_*" options for calling commands on state changes.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@849 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-01-20 19:42:22 +00:00
parent b301faf3ca
commit 1d1b5710fa
23 changed files with 416 additions and 200 deletions
+3
View File
@@ -95,7 +95,9 @@ public:
input::InputEvent* input_stdin() { return m_inputStdin; }
CommandScheduler* command_scheduler() { return m_commandScheduler; }
utils::VariableMap* variable() { return m_variables; }
utils::VariableMap* download_variables() { return m_downloadVariables; }
uint64_t tick() const { return m_tick; }
void inc_tick() { m_tick++; }
@@ -124,6 +126,7 @@ private:
CommandScheduler* m_commandScheduler;
utils::VariableMap* m_variables;
utils::VariableMap* m_downloadVariables;
uint64_t m_tick;