mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-10 12:12:31 +00:00
f664e1ce0c
git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@338 e378c898-3ddf-0310-93e7-cc216c733640
45 lines
853 B
C++
45 lines
853 B
C++
#ifndef RTORRENT_UI_TRACKER_LIST_H
|
|
#define RTORRENT_UI_TRACKER_LIST_H
|
|
|
|
#include "core/download.h"
|
|
#include "display/manager.h"
|
|
#include "input/bindings.h"
|
|
|
|
namespace display {
|
|
class WindowTrackerList;
|
|
}
|
|
|
|
namespace ui {
|
|
|
|
class Control;
|
|
|
|
class TrackerList {
|
|
public:
|
|
typedef display::WindowTrackerList WTrackerList;
|
|
typedef display::Manager::iterator MItr;
|
|
|
|
TrackerList(Control* c, core::Download* d);
|
|
|
|
void activate(MItr mItr);
|
|
void disable();
|
|
|
|
input::Bindings& get_bindings() { return m_bindings; }
|
|
|
|
private:
|
|
void receive_next();
|
|
void receive_prev();
|
|
|
|
core::Download* m_download;
|
|
WTrackerList* m_window;
|
|
|
|
Control* m_control;
|
|
input::Bindings m_bindings;
|
|
|
|
// Change to unsigned, please.
|
|
unsigned int m_focus;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|