mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 12:12:31 +00:00
36 lines
644 B
C++
36 lines
644 B
C++
#ifndef RTORRENT_DISPLAY_FILE_LIST_H
|
|
#define RTORRENT_DISPLAY_FILE_LIST_H
|
|
|
|
#include "window.h"
|
|
|
|
namespace ui {
|
|
class ElementFileList;
|
|
}
|
|
|
|
namespace torrent {
|
|
class File;
|
|
class FileListIterator;
|
|
class file_list_collapsed_iterator;
|
|
}
|
|
|
|
namespace display {
|
|
|
|
class WindowFileList : public Window {
|
|
public:
|
|
typedef torrent::FileListIterator iterator;
|
|
typedef torrent::file_list_collapsed_iterator collapsed_iterator;
|
|
|
|
WindowFileList(const ui::ElementFileList* element);
|
|
|
|
virtual void redraw();
|
|
|
|
private:
|
|
int done_percentage(torrent::File* e);
|
|
|
|
const ui::ElementFileList* m_element;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|