mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-12 05:02:31 +00:00
Cleaned up download ui code.
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@356 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+6
-12
@@ -24,8 +24,8 @@
|
||||
#define RTORRENT_UI_TRACKER_LIST_H
|
||||
|
||||
#include "core/download.h"
|
||||
#include "display/manager.h"
|
||||
#include "input/bindings.h"
|
||||
|
||||
#include "base_element.h"
|
||||
|
||||
namespace display {
|
||||
class WindowTrackerList;
|
||||
@@ -35,17 +35,14 @@ namespace ui {
|
||||
|
||||
class Control;
|
||||
|
||||
class TrackerList {
|
||||
class TrackerList : public BaseElement {
|
||||
public:
|
||||
typedef display::WindowTrackerList WTrackerList;
|
||||
typedef display::Manager::iterator MItr;
|
||||
|
||||
TrackerList(Control* c, core::Download* d);
|
||||
TrackerList(core::Download* d);
|
||||
|
||||
void activate(MItr mItr);
|
||||
void disable();
|
||||
|
||||
input::Bindings& get_bindings() { return m_bindings; }
|
||||
void activate(Control* c, MItr mItr);
|
||||
void disable(Control* c);
|
||||
|
||||
private:
|
||||
void receive_next();
|
||||
@@ -54,9 +51,6 @@ private:
|
||||
core::Download* m_download;
|
||||
WTrackerList* m_window;
|
||||
|
||||
Control* m_control;
|
||||
input::Bindings m_bindings;
|
||||
|
||||
// Change to unsigned, please.
|
||||
unsigned int m_focus;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user