From 048a2cf59737f761876e81a77e8d064c45c752d7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 11 Oct 2007 16:58:24 +0000 Subject: 2007-10-12 Tatsuhiro Tsujikawa Implemented BitTorrent/http/ftp integrated download. I've rewritten lots of files and now some headers have forward class declarations to reduce compile time. The implementation is extremely alpha stage, I recommend to use this for testing purpose only. --- src/FileAllocationCommand.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/FileAllocationCommand.h') diff --git a/src/FileAllocationCommand.h b/src/FileAllocationCommand.h index 84dfe652..371c6091 100644 --- a/src/FileAllocationCommand.h +++ b/src/FileAllocationCommand.h @@ -37,16 +37,19 @@ #include "RealtimeCommand.h" #include "TimeA2.h" -#include "FileAllocationEntry.h" + +class FileAllocationEntry; +extern typedef SharedHandle FileAllocationEntryHandle; +class Exception; class FileAllocationCommand : public RealtimeCommand { private: FileAllocationEntryHandle _fileAllocationEntry; Time _timer; public: - FileAllocationCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry): - RealtimeCommand(cuid, requestGroup, e), - _fileAllocationEntry(fileAllocationEntry) {} + FileAllocationCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e, const FileAllocationEntryHandle& fileAllocationEntry); + + virtual ~FileAllocationCommand(); virtual bool executeInternal(); -- cgit