summaryrefslogtreecommitdiff
path: root/src/SeedCheckCommand.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/SeedCheckCommand.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/SeedCheckCommand.cc')
-rw-r--r--src/SeedCheckCommand.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SeedCheckCommand.cc b/src/SeedCheckCommand.cc
index 4d56d3f0..e7515fd6 100644
--- a/src/SeedCheckCommand.cc
+++ b/src/SeedCheckCommand.cc
@@ -41,6 +41,10 @@
#include "message.h"
#include "RequestGroup.h"
#include "DownloadContext.h"
+#include "RequestGroupMan.h"
+#include "FileAllocationEntry.h"
+#include "CheckIntegrityEntry.h"
+#include "ServerStatMan.h"
namespace aria2 {
@@ -83,7 +87,7 @@ bool SeedCheckCommand::execute() {
_btRuntime->setHalt(true);
}
}
- e->commands.push_back(this);
+ e->addCommand(this);
return false;
}