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
-6
View File
@@ -2,7 +2,6 @@
#define RTORRENT_DISPLAY_PEER_INFO_H
#include <list>
#include <sigc++/slot.h>
#include <torrent/peer.h>
#include "window.h"
@@ -16,12 +15,9 @@ namespace display {
class WindowPeerInfo : public Window {
public:
typedef std::list<torrent::Peer> PList;
typedef sigc::slot0<uint32_t> SlotChunksTotal;
WindowPeerInfo(core::Download* d, PList* l, PList::iterator* f);
void slot_chunks_total(SlotChunksTotal s) { m_slotChunksTotal = s; }
virtual void redraw();
private:
@@ -29,8 +25,6 @@ private:
PList* m_list;
PList::iterator* m_focus;
SlotChunksTotal m_slotChunksTotal;
};
}