From 7cd9b21937c42606354610c7ae85a0857b474cf5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 8 Jun 2010 14:11:36 +0000 Subject: 2010-06-08 Tatsuhiro Tsujikawa Made public member variables of DownloadEngine private. Added accessor funcs. --- src/TimeBasedCommand.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/TimeBasedCommand.cc') diff --git a/src/TimeBasedCommand.cc b/src/TimeBasedCommand.cc index 01c165ff..929f4257 100644 --- a/src/TimeBasedCommand.cc +++ b/src/TimeBasedCommand.cc @@ -35,6 +35,11 @@ #include "TimeBasedCommand.h" #include "DownloadEngine.h" #include "wallclock.h" +#include "RequestGroupMan.h" +#include "FileAllocationEntry.h" +#include "CheckIntegrityEntry.h" +#include "ServerStatMan.h" +#include "FileEntry.h" namespace aria2 { @@ -66,7 +71,7 @@ bool TimeBasedCommand::execute() if(_routineCommand) { _e->addRoutineCommand(this); } else { - _e->commands.push_back(this); + _e->addCommand(this); } return false; } -- cgit