mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
* Added TextElementBranch that uses a slot as the conditional.
* Added timeout to WindowText and updated download and peer info. * Moved default http agent string to rtorrent/configure.ac. * Periodic syncing of chunks now tries to only sync tightly packed ranges of chunks unless timeout_sync has been reached. * ChunkManager now checks if max memory is set to RLIM_INFINITY, if so use 2^32. * Added safe_sync option that forces MS_SYNC to be used before unmapping chunks. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@757 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -50,6 +50,7 @@ public:
|
||||
|
||||
static const extent_type extent_full = ~extent_type();
|
||||
|
||||
TextElement() {}
|
||||
virtual ~TextElement() {}
|
||||
|
||||
// The last element must point to a valid memory location into which
|
||||
@@ -58,6 +59,10 @@ public:
|
||||
virtual char* print(char* first, char* last, Canvas::attributes_list* attributes, void* object) = 0;
|
||||
|
||||
virtual extent_type max_length() = 0;
|
||||
|
||||
private:
|
||||
TextElement(const TextElement&);
|
||||
void operator = (const TextElement&);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user