mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-07 18:52:30 +00:00
Converted sigc::signals to STL.
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
#ifndef RTORRENT_DISPLAY_WINDOW_HTTP_QUEUE_H
|
||||
#define RTORRENT_DISPLAY_WINDOW_HTTP_QUEUE_H
|
||||
|
||||
#include <sigc++/connection.h>
|
||||
#include <tr1/functional>
|
||||
|
||||
#include "window.h"
|
||||
|
||||
@@ -50,8 +50,10 @@ namespace display {
|
||||
|
||||
class WindowHttpQueue : public Window {
|
||||
public:
|
||||
typedef std::tr1::function<void (core::CurlGet*)> slot_curl_get;
|
||||
typedef std::list<slot_curl_get> signal_curl_get;
|
||||
|
||||
WindowHttpQueue(core::HttpQueue* q);
|
||||
~WindowHttpQueue() { m_connInsert.disconnect(); m_connErase.disconnect(); }
|
||||
|
||||
virtual void redraw();
|
||||
|
||||
@@ -76,10 +78,10 @@ private:
|
||||
static std::string create_name(core::CurlGet* h);
|
||||
|
||||
core::HttpQueue* m_queue;
|
||||
sigc::connection m_connInsert;
|
||||
sigc::connection m_connErase;
|
||||
|
||||
Container m_container;
|
||||
|
||||
signal_curl_get::iterator m_connInsert;
|
||||
signal_curl_get::iterator m_connErase;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user