Work on peer info display.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@260 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-02-07 23:40:48 +00:00
parent 45404b7473
commit b657554236
10 changed files with 199 additions and 21 deletions
+6 -4
View File
@@ -1,3 +1,5 @@
#include "config.h"
#include <string>
#include <stdexcept>
#include <iostream>
@@ -92,6 +94,10 @@ int
main(int argc, char** argv) {
try {
SignalHandler::set_handler(SIGINT, sigc::ptr_fun(&set_shutdown));
SignalHandler::set_handler(SIGSEGV, sigc::bind(sigc::ptr_fun(&do_panic), SIGSEGV));
SignalHandler::set_handler(SIGBUS, sigc::bind(sigc::ptr_fun(&do_panic), SIGBUS));
display::Canvas::init();
core::CurlStack::init();
@@ -123,10 +129,6 @@ main(int argc, char** argv) {
itr->hash_check();
}
SignalHandler::set_handler(SIGINT, sigc::ptr_fun(&set_shutdown));
SignalHandler::set_handler(SIGSEGV, sigc::bind(sigc::ptr_fun(&do_panic), SIGSEGV));
SignalHandler::set_handler(SIGBUS, sigc::bind(sigc::ptr_fun(&do_panic), SIGBUS));
uiControl.get_display().adjust_layout();
while (!is_shutting_down || !torrent::get(torrent::SHUTDOWN_DONE)) {