mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-06 22:29:23 +00:00
* New non-template VariableStringSlot and VariableValueSlot.
* Support B, K, M and G in options. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@670 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#define RTORRENT_CONTROL_H
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <sys/types.h>
|
||||
#include <rak/timer.h>
|
||||
#include <rak/priority_queue_default.h>
|
||||
#include <torrent/torrent.h>
|
||||
@@ -96,6 +97,9 @@ public:
|
||||
uint64_t tick() const { return m_tick; }
|
||||
void inc_tick() { m_tick++; }
|
||||
|
||||
mode_t umask() const { return m_umask; }
|
||||
void set_umask(mode_t m);
|
||||
|
||||
private:
|
||||
Control(const Control&);
|
||||
void operator = (const Control&);
|
||||
@@ -115,6 +119,7 @@ private:
|
||||
display::ClientInfo* m_clientInfo;
|
||||
|
||||
uint64_t m_tick;
|
||||
mode_t m_umask;
|
||||
|
||||
rak::priority_item m_taskShutdown;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user