/* */ #include "DirectDiskAdaptor.h" DirectDiskAdaptor::DirectDiskAdaptor(DiskWriter* diskWriter):DiskAdaptor(diskWriter) {} DirectDiskAdaptor::~DirectDiskAdaptor() {} string DirectDiskAdaptor::getFilePath() const { return storeDir+"/"+fileEntries.front().path; } void DirectDiskAdaptor::onDownloadComplete() { closeFile(); openFile(); }