mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-07 06:39:23 +00:00
Focus iterators moved out of Window*.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@254 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
namespace display {
|
||||
class WindowTitle;
|
||||
class WindowPeerList;
|
||||
class WindowStatusbar;
|
||||
}
|
||||
|
||||
namespace ui {
|
||||
@@ -20,6 +21,7 @@ class Download {
|
||||
public:
|
||||
typedef display::WindowPeerList WPeerList;
|
||||
typedef display::WindowTitle WTitle;
|
||||
typedef display::WindowStatusbar WStatus;
|
||||
typedef core::DownloadList::iterator DPtr;
|
||||
typedef std::list<torrent::Peer> PList;
|
||||
|
||||
@@ -40,11 +42,15 @@ private:
|
||||
void receive_peer_connected(torrent::Peer p);
|
||||
void receive_peer_disconnected(torrent::Peer p);
|
||||
|
||||
void mark_dirty();
|
||||
|
||||
DPtr m_download;
|
||||
PList m_peers;
|
||||
PList::iterator m_focus;
|
||||
|
||||
WPeerList* m_window;
|
||||
WTitle* m_title;
|
||||
WStatus* m_status;
|
||||
|
||||
Control* m_control;
|
||||
input::Bindings* m_bindings;
|
||||
|
||||
Reference in New Issue
Block a user