Added file view.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@322 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-03-04 22:00:39 +00:00
parent 8d36f7c374
commit 9e0db66b58
14 changed files with 305 additions and 45 deletions
+7 -7
View File
@@ -2,29 +2,29 @@
#define RTORRENT_DISPLAY_PEER_LIST_H
#include <list>
#include <sigc++/slot.h>
#include <torrent/peer.h>
#include "window.h"
namespace core {
class Download;
}
namespace display {
class WindowPeerList : public Window {
public:
typedef std::list<torrent::Peer> PList;
typedef sigc::slot0<uint32_t> SlotChunksTotal;
WindowPeerList(PList* l, PList::iterator* f);
void slot_chunks_total(SlotChunksTotal s) { m_slotChunksTotal = s; }
WindowPeerList(core::Download* d, PList* l, PList::iterator* f);
virtual void redraw();
private:
core::Download* m_download;
PList* m_list;
PList::iterator* m_focus;
SlotChunksTotal m_slotChunksTotal;
};
}