summaryrefslogtreecommitdiff
path: root/src/TimeBasedCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 14:11:36 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-06-08 14:11:36 +0000
commit7cd9b21937c42606354610c7ae85a0857b474cf5 (patch)
tree21edec9e14d7bde8cfa705840a6e9756b732e1e5 /src/TimeBasedCommand.cc
parent2dc4bf01ad3b9be3de22696128e8007cf81a5345 (diff)
2010-06-08 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made public member variables of DownloadEngine private. Added accessor funcs.
Diffstat (limited to 'src/TimeBasedCommand.cc')
-rw-r--r--src/TimeBasedCommand.cc7
1 files changed, 6 insertions, 1 deletions
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;
}