mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-16 15:12:30 +00:00
* Unlink the tied file when a torrent is erased.
* Remove torrents that are already tied from the expanded paths. * Move the loop counter to Control. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@618 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#ifndef RTORRENT_CONTROL_H
|
||||
#define RTORRENT_CONTROL_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <torrent/torrent.h>
|
||||
|
||||
#include "globals.h"
|
||||
@@ -83,6 +84,9 @@ public:
|
||||
CommandScheduler* command_scheduler() { return m_commandScheduler; }
|
||||
OptionHandler* option_handler() { return m_optionHandler; }
|
||||
|
||||
uint64_t tick() const { return m_tick; }
|
||||
void inc_tick() { m_tick++; }
|
||||
|
||||
private:
|
||||
Control(const Control&);
|
||||
void operator = (const Control&);
|
||||
@@ -98,6 +102,8 @@ private:
|
||||
CommandScheduler* m_commandScheduler;
|
||||
OptionHandler* m_optionHandler;
|
||||
|
||||
uint64_t m_tick;
|
||||
|
||||
rak::priority_item m_taskShutdown;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user