mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 22:59:21 +00:00
* Fixed 'd.group.set' for the mainline version.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1264 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -129,6 +129,10 @@ public:
|
||||
|
||||
float distributed_copies() const;
|
||||
|
||||
// HACK: Choke group setting.
|
||||
unsigned int group() const { return m_group; }
|
||||
void set_group(unsigned int g) { m_group = g; }
|
||||
|
||||
private:
|
||||
Download(const Download&);
|
||||
void operator () (const Download&);
|
||||
@@ -151,6 +155,8 @@ private:
|
||||
sigc::connection m_connTrackerSucceeded;
|
||||
sigc::connection m_connTrackerFailed;
|
||||
sigc::connection m_connStorageError;
|
||||
|
||||
unsigned int m_group;
|
||||
};
|
||||
|
||||
inline bool
|
||||
|
||||
Reference in New Issue
Block a user