* Added command scheduler, currently it only calls option handler.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@609 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-12-17 02:50:10 +00:00
parent ca5b5e05ec
commit e45f05ee98
17 changed files with 541 additions and 51 deletions
+7 -1
View File
@@ -46,6 +46,8 @@
#include "input/input_event.h"
#include "ui/root.h"
#include "command_scheduler.h"
#include "control.h"
Control::Control() :
@@ -55,7 +57,9 @@ Control::Control() :
m_core(new core::Manager()),
m_display(new display::Manager()),
m_input(new input::Manager()),
m_inputStdin(new input::InputEvent(STDIN_FILENO)) {
m_inputStdin(new input::InputEvent(STDIN_FILENO)),
m_commandScheduler(new CommandScheduler()) {
m_inputStdin->slot_pressed(sigc::mem_fun(m_input, &input::Manager::pressed));
@@ -66,6 +70,8 @@ Control::~Control() {
delete m_inputStdin;
delete m_input;
delete m_commandScheduler;
delete m_ui;
delete m_display;
delete m_core;