mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-09 15:49:20 +00:00
* Fixed the log redraw which didn't happen as the display's scheduler
didn't get re-added to the task scheduler until a new event happened. * Added redraw delay interval of 100ms, consider 50ms. * Removed exceptions from core::DownloadStore::save. * Added load, load_run, tied_stop and tied_remove to man-page. * Cleaned up the command/option instances, move them to Control. * PCB::load_up_chunk grabbed the errno from m_downChunk, not m_upChunk. * Various string operations were moved to rak/string_manip.h. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@617 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+20
-6
@@ -38,6 +38,7 @@
|
||||
#define RTORRENT_DISPLAY_MANAGER_H
|
||||
|
||||
#include <list>
|
||||
#include <rak/priority_queue_default.h>
|
||||
|
||||
namespace display {
|
||||
|
||||
@@ -57,19 +58,32 @@ public:
|
||||
using Base::rbegin;
|
||||
using Base::rend;
|
||||
|
||||
using Base::insert;
|
||||
using Base::erase;
|
||||
using Base::push_front;
|
||||
using Base::push_back;
|
||||
|
||||
iterator erase(Window* w);
|
||||
Manager();
|
||||
~Manager();
|
||||
|
||||
iterator find(Window* w);
|
||||
iterator insert(iterator pos, Window* w);
|
||||
iterator erase(iterator pos);
|
||||
iterator erase(Window* w);
|
||||
|
||||
void adjust_layout();
|
||||
void do_update();
|
||||
iterator find(Window* w);
|
||||
|
||||
void schedule(Window* w, rak::timer t);
|
||||
void unschedule(Window* w);
|
||||
|
||||
void adjust_layout();
|
||||
|
||||
private:
|
||||
void receive_update();
|
||||
|
||||
void schedule_update();
|
||||
|
||||
rak::timer m_timeLastUpdate;
|
||||
|
||||
rak::priority_queue_default m_scheduler;
|
||||
rak::priority_item m_taskUpdate;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user