summaryrefslogtreecommitdiff
path: root/src/SequentialDispatcherCommand.h
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/SequentialDispatcherCommand.h
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/SequentialDispatcherCommand.h')
-rw-r--r--src/SequentialDispatcherCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SequentialDispatcherCommand.h b/src/SequentialDispatcherCommand.h
index 7128af16..37bdb030 100644
--- a/src/SequentialDispatcherCommand.h
+++ b/src/SequentialDispatcherCommand.h
@@ -62,11 +62,11 @@ public:
virtual bool execute()
{
- if(_e->_requestGroupMan->downloadFinished() || _e->isHaltRequested()) {
+ if(_e->getRequestGroupMan()->downloadFinished() || _e->isHaltRequested()) {
return true;
}
if(_picker->hasNext() && !_picker->isPicked()) {
- _e->commands.push_back(createCommand(_picker->pickNext()));
+ _e->addCommand(createCommand(_picker->pickNext()));
_e->setNoWait(true);
}