mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 15:42:30 +00:00
* New code for handling options/variables which used bencode and can
redirect get/set operations. * Fixed(?) a bug in RequestList::downloading(...) that could cause a segfault when pieces in the canceled list start downloading. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@622 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+6
-3
@@ -59,7 +59,10 @@ namespace input {
|
||||
class Manager;
|
||||
}
|
||||
|
||||
class OptionHandler;
|
||||
namespace utils {
|
||||
class VariableMap;
|
||||
}
|
||||
|
||||
class CommandScheduler;
|
||||
|
||||
class Control {
|
||||
@@ -82,7 +85,7 @@ public:
|
||||
input::InputEvent* input_stdin() { return m_inputStdin; }
|
||||
|
||||
CommandScheduler* command_scheduler() { return m_commandScheduler; }
|
||||
OptionHandler* option_handler() { return m_optionHandler; }
|
||||
utils::VariableMap* variables() { return m_variables; }
|
||||
|
||||
uint64_t tick() const { return m_tick; }
|
||||
void inc_tick() { m_tick++; }
|
||||
@@ -100,7 +103,7 @@ private:
|
||||
input::InputEvent* m_inputStdin;
|
||||
|
||||
CommandScheduler* m_commandScheduler;
|
||||
OptionHandler* m_optionHandler;
|
||||
utils::VariableMap* m_variables;
|
||||
|
||||
uint64_t m_tick;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user