/* */ #include "BtPostDownloadHandler.h" #include "prefs.h" #include "RequestGroup.h" #include "Option.h" #include "Logger.h" #include "DownloadHandlerConstants.h" #include "File.h" #include "PieceStorage.h" #include "DiskAdaptor.h" #include "Util.h" #include "ContentTypeRequestGroupCriteria.h" #include "Exception.h" #include "DownloadContext.h" #include "bittorrent_helper.h" namespace aria2 { BtPostDownloadHandler::BtPostDownloadHandler() { SharedHandle cri (new ContentTypeRequestGroupCriteria(DownloadHandlerConstants::getBtContentTypes(), DownloadHandlerConstants::getBtExtensions())); setCriteria(cri); } BtPostDownloadHandler::~BtPostDownloadHandler() {} void BtPostDownloadHandler::getNextRequestGroups (std::deque >& groups, RequestGroup* requestGroup) { const SharedHandle