/* */ #include "StreamCheckIntegrityEntry.h" #include "RequestGroup.h" #include "DownloadEngine.h" #include "StreamFileAllocationEntry.h" #include "DownloadContext.h" namespace aria2 { StreamCheckIntegrityEntry::StreamCheckIntegrityEntry(RequestGroup* requestGroup, Command* nextCommand): PieceHashCheckIntegrityEntry(requestGroup, nextCommand) {} StreamCheckIntegrityEntry::~StreamCheckIntegrityEntry() {} void StreamCheckIntegrityEntry::onDownloadIncomplete (std::deque& commands, DownloadEngine* e) { FileAllocationEntryHandle entry (new StreamFileAllocationEntry(_requestGroup, popNextCommand())); proceedFileAllocation(commands, entry, e); } void StreamCheckIntegrityEntry::onDownloadFinished(std::deque& commands, DownloadEngine* e) {} } // namespace aria2