diff options
Diffstat (limited to 'src/AutoSaveCommand.cc')
| -rw-r--r-- | src/AutoSaveCommand.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/AutoSaveCommand.cc b/src/AutoSaveCommand.cc index af98f316..2fd7001d 100644 --- a/src/AutoSaveCommand.cc +++ b/src/AutoSaveCommand.cc @@ -36,6 +36,9 @@ #include "DownloadEngine.h" #include "RequestGroupMan.h" #include "FileEntry.h" +#include "ServerStatMan.h" +#include "FileAllocationEntry.h" +#include "CheckIntegrityEntry.h" namespace aria2 { @@ -46,14 +49,14 @@ AutoSaveCommand::~AutoSaveCommand() {} void AutoSaveCommand::preProcess() { - if(_e->_requestGroupMan->downloadFinished() || _e->isHaltRequested()) { + if(_e->getRequestGroupMan()->downloadFinished() || _e->isHaltRequested()) { _exit = true; } } void AutoSaveCommand::process() { - _e->_requestGroupMan->save(); + _e->getRequestGroupMan()->save(); } } // namespace aria2 |
